from django.urls import path
from django.contrib.auth import views as auth_views
from . import views

urlpatterns = [
    path('register/', views.register, name='register'),
    path('login/', views.userlogin, name='login'),
    path('logout/', views.userlogout, name='logout'),
    path('password_change/', auth_views.PasswordChangeView.as_view(),
         name='password_change'),
    path('password_change/done/', auth_views.PasswordChangeDoneView.as_view(),
         name='password_change_done'),
    path('password_reset/', auth_views.PasswordResetView.as_view(),
         name='password_reset'),
    path('password_reset/done/', auth_views.PasswordResetDoneView.as_view(),
         name='password_reset_done'),
    path('reset/<uidb64>/<token>/', auth_views.PasswordResetConfirmView.as_view(),
         name='password_reset_confirm'),
    path('reset/done/', auth_views.PasswordResetCompleteView.as_view(),
         name='password_reset_complete'),
    path('applicantdashboard/', views.applicantdashboard,
         name='applicantdashboard'),
    path('recruiterdashboard/', views.recruiterdashboard,
         name='recruiterdashboard'),
    path('applicantdashboard/profile-edit/', views.applicantedit,
         name='editapplicantprofile'),
    path('recruiterdashboard/profile-edit/', views.recruiteredit,
         name='editrecruiterprofile'),
]

[(6, 'django.urls.path', 'path', False, 'from django.urls import path\n'), (7, 'django.urls.path', 'path', False, 'from django.urls import path\n'), (8, 'django.urls.path', 'path', False, 'from django.urls import path\n'), (21, 'django.urls.path', 'path', False, 'from django.urls import path\n'), (23, 'django.urls.path', 'path', False, 'from django.urls import path\n'), (25, 'django.urls.path', 'path', False, 'from django.urls import path\n'), (27, 'django.urls.path', 'path', False, 'from django.urls import path\n'), (9, 'django.contrib.auth.views.PasswordChangeView.as_view', 'auth_views.PasswordChangeView.as_view', True, 'from django.contrib.auth import views as auth_views\n'), (11, 'django.contrib.auth.views.PasswordChangeDoneView.as_view', 'auth_views.PasswordChangeDoneView.as_view', True, 'from django.contrib.auth import views as auth_views\n'), (13, 'django.contrib.auth.views.PasswordResetView.as_view', 'auth_views.PasswordResetView.as_view', True, 'from django.contrib.auth import views as auth_views\n'), (15, 'django.contrib.auth.views.PasswordResetDoneView.as_view', 'auth_views.PasswordResetDoneView.as_view', True, 'from django.contrib.auth import views as auth_views\n'), (17, 'django.contrib.auth.views.PasswordResetConfirmView.as_view', 'auth_views.PasswordResetConfirmView.as_view', True, 'from django.contrib.auth import views as auth_views\n'), (19, 'django.contrib.auth.views.PasswordResetCompleteView.as_view', 'auth_views.PasswordResetCompleteView.as_view', True, 'from django.contrib.auth import views as auth_views\n')]