Django Library Users
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213
  1. from django.urls import path
  2. from . import views
  3. urlpatterns = [
  4. path('login', views.login, name='users-login'),
  5. path('logout', views.logout, name='users-logout'),
  6. path('profile', views.profile, name='users-profile'),
  7. path('register', views.register, name='users-register'),
  8. path('recover', views.recover, name='users-recover'),
  9. path('recover-token/<uidb64>/<token>', views.recover_token, name='users-recover-token'),
  10. path('validate/<uidb64>/<token>', views.validate, name='users-validate'),
  11. path('activate/<pk>', views.activate, name='users-activate'),
  12. ]