Merge branch 'feature/password_reset' into 'develop'

Кнопка восстановления пароля привязана к странице

See merge request 2020-2021/online/s101/group-02/access_controller!21
This commit is contained in:
Кравченко Артем 2021-02-25 14:21:51 +00:00
commit a6c8910b63

View File

@ -27,11 +27,12 @@ urlpatterns = [
path('accounts/login/', LoginView.as_view(extra_context={}), name='login'), # TODO add extra context
path('accounts/', include('django.contrib.auth.urls')),
path('accounts/', include('django_registration.backends.activation.urls')),
]
path('accounts/login/', include('django.contrib.auth.urls')),
]
urlpatterns += [
path(
'password-reset/',
'password_reset/',
auth_views.PasswordResetView.as_view(),
name='password_reset'
),