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.

18 lines
752 B

3 years ago
3 years ago
  1. from django.contrib.auth.views import (PasswordResetCompleteView,
  2. PasswordResetConfirmView,
  3. PasswordResetDoneView)
  4. from django.urls import path
  5. from .utils import activate
  6. from .views import SignupView
  7. urlpatterns = [
  8. path('password_reset/done/', PasswordResetDoneView.as_view(),
  9. name='password_reset_done'),
  10. path('reset/done/', PasswordResetCompleteView.as_view(),
  11. name='password_reset_complete'),
  12. path('reset/<uidb64>/<token>/', PasswordResetConfirmView.as_view(),
  13. name='password_reset_confirm'),
  14. path('signup/', SignupView.as_view(), name='signup'),
  15. path('activate/<str:uidb64>/<str:token>', activate, name='activate'),
  16. ]