src/accounts/urls.py
from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^login/$', views.LoginView.as_view(), name="login"),
url(r'^logout/$', views.LogoutView.as_view(), name='logout'),
url(r'^signup/$', views.SignUpView.as_view(), name='signup'),
url(r'^password-change/$', views.PasswordChangeView.as_view(),
name='password-change'),
url(r'^password-reset/$', views.PasswordResetView.as_view(),
name='password-reset'),
url(r'^password-reset-done/$', views.PasswordResetDoneView.as_view(),
name='password-reset-done'),
url(r'^password-reset/(?P<uidb64>[0-9A-Za-z_\-]+)/(?P<token>[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})/$$', views.PasswordResetConfirmView.as_view(), # NOQA
name='password-reset-confirm'),
]