<reponame>appressoas/cradmin_legacy<filename>cradmin_legacy/apps/cradmin_resetpassword/urls.py
from __future__ import unicode_literals

from django.urls import path

from cradmin_legacy.apps.cradmin_resetpassword.views.begin import BeginPasswordResetView
from cradmin_legacy.apps.cradmin_resetpassword.views.email_sent import EmailSentView
from cradmin_legacy.apps.cradmin_resetpassword.views.reset import ResetPasswordView

urlpatterns = [
    path('begin',
         BeginPasswordResetView.as_view(),
         name="cradmin-resetpassword-begin"),
    path('email-sent',
         EmailSentView.as_view(),
         name="cradmin-resetpassword-email-sent"),
    path('reset/<str:token>',
         ResetPasswordView.as_view(),
         name="cradmin-resetpassword-reset"),
]

from __future__ import unicode_literals

from django.urls import path

from cradmin_legacy.apps.cradmin_resetpassword.views.begin import BeginPasswordResetView
from cradmin_legacy.apps.cradmin_resetpassword.views.email_sent import EmailSentView
from cradmin_legacy.apps.cradmin_resetpassword.views.reset import ResetPasswordView

urlpatterns = [
    path('begin',
         BeginPasswordResetView.as_view(),
         name="cradmin-resetpassword-begin"),
    path('email-sent',
         EmailSentView.as_view(),
         name="cradmin-resetpassword-email-sent"),
    path('reset/<str:token>',
         ResetPasswordView.as_view(),
         name="cradmin-resetpassword-reset"),
]