from django.urls import path
from . import views
from django.contrib.auth.views import (
                                 LoginView, 
                                 LogoutView, 
                                 PasswordResetView, 
                                 PasswordResetDoneView,
                                 PasswordResetConfirmView,
                                 PasswordResetCompleteView,
                                )

urlpatterns = [
    path('register/', views.register, name='register'),
    path('profile/', views.profile, name='profile'),
    path('login/', LoginView.as_view(template_name = 'users/login.html'), name='login'),
    path('logout/', LogoutView.as_view(template_name = 'users/logout.html'), name='logout'),
    path('password-reset/', 
        PasswordResetView.as_view(template_name = 'users/password_reset.html'), 
        name='password_reset'),
    path('password-reset/done/', 
        PasswordResetDoneView.as_view(template_name = 'users/password_reset_done.html'), 
        name='password_reset_done'),
    path('password-reset-confirm/<uidb64>/<token>/', 
        PasswordResetConfirmView.as_view(template_name = 'users/password_reset_confirm.html'), 
        name='password_reset_confirm'),
    path('password-reset-complete/', 
        PasswordResetCompleteView.as_view(template_name = 'users/password_reset_complete.html'), 
        name='password_reset_complete'),
]


6fcf48b54cf94a7fd6cf485adaffe489857c1478
<mask token>

<mask token>
urlpatterns = [path('register/', views.register, name='register'), path(
    'profile/', views.profile, name='profile'), path('login/', LoginView.
    as_view(template_name='users/login.html'), name='login'), path(
    'logout/', LogoutView.as_view(template_name='users/logout.html'), name=
    'logout'), path('password-reset/', PasswordResetView.as_view(
    template_name='users/password_reset.html'), name='password_reset'),
    path('password-reset/done/', PasswordResetDoneView.as_view(
    template_name='users/password_reset_done.html'), name=
    'password_reset_done'), path('password-reset-confirm/<uidb64>/<token>/',
    PasswordResetConfirmView.as_view(template_name=
    'users/password_reset_confirm.html'), name='password_reset_confirm'),
    path('password-reset-complete/', PasswordResetCompleteView.as_view(
    template_name='users/password_reset_complete.html'), name=
    'password_reset_complete')]

from django.urls import path
from . import views
from django.contrib.auth.views import LoginView, LogoutView, PasswordResetView, PasswordResetDoneView, PasswordResetConfirmView, PasswordResetCompleteView
urlpatterns = [path('register/', views.register, name='register'), path(
    'profile/', views.profile, name='profile'), path('login/', LoginView.
    as_view(template_name='users/login.html'), name='login'), path(
    'logout/', LogoutView.as_view(template_name='users/logout.html'), name=
    'logout'), path('password-reset/', PasswordResetView.as_view(
    template_name='users/password_reset.html'), name='password_reset'),
    path('password-reset/done/', PasswordResetDoneView.as_view(
    template_name='users/password_reset_done.html'), name=
    'password_reset_done'), path('password-reset-confirm/<uidb64>/<token>/',
    PasswordResetConfirmView.as_view(template_name=
    'users/password_reset_confirm.html'), name='password_reset_confirm'),
    path('password-reset-complete/', PasswordResetCompleteView.as_view(
    template_name='users/password_reset_complete.html'), name=
    'password_reset_complete')]

from django.urls import path
from . import views
from django.contrib.auth.views import (
                                 LoginView, 
                                 LogoutView, 
                                 PasswordResetView, 
                                 PasswordResetDoneView,
                                 PasswordResetConfirmView,
                                 PasswordResetCompleteView,
                                )

urlpatterns = [
    path('register/', views.register, name='register'),
    path('profile/', views.profile, name='profile'),
    path('login/', LoginView.as_view(template_name = 'users/login.html'), name='login'),
    path('logout/', LogoutView.as_view(template_name = 'users/logout.html'), name='logout'),
    path('password-reset/', 
        PasswordResetView.as_view(template_name = 'users/password_reset.html'), 
        name='password_reset'),
    path('password-reset/done/', 
        PasswordResetDoneView.as_view(template_name = 'users/password_reset_done.html'), 
        name='password_reset_done'),
    path('password-reset-confirm/<uidb64>/<token>/', 
        PasswordResetConfirmView.as_view(template_name = 'users/password_reset_confirm.html'), 
        name='password_reset_confirm'),
    path('password-reset-complete/', 
        PasswordResetCompleteView.as_view(template_name = 'users/password_reset_complete.html'), 
        name='password_reset_complete'),
]

