12345678910111213 |
- from django.urls import path
- from . import views
-
- urlpatterns = [
- path('login', views.login, name='users-login'),
- path('logout', views.logout, name='users-logout'),
- path('profile', views.profile, name='users-profile'),
- path('register', views.register, name='users-register'),
- path('recover', views.recover, name='users-recover'),
- path('recover-token/<uidb64>/<token>', views.recover_token, name='users-recover-token'),
- path('validate/<uidb64>/<token>', views.validate, name='users-validate'),
- path('activate/<pk>', views.activate, name='users-activate'),
- ]
|