2020-09-22 10:27:03 +00:00
|
|
|
from django.urls import path
|
|
|
|
|
2020-09-22 17:37:37 +00:00
|
|
|
from .views import SignupView, UserValidationEmailSentView, UserResendValidationEmailView, UserValidateView
|
2020-09-22 10:27:03 +00:00
|
|
|
|
|
|
|
app_name = "registration"
|
|
|
|
|
|
|
|
urlpatterns = [
|
2020-09-22 18:41:42 +00:00
|
|
|
path("signup/", SignupView.as_view(), name="signup"),
|
2020-09-22 17:37:37 +00:00
|
|
|
path('validate_email/sent/', UserValidationEmailSentView.as_view(), name='email_validation_sent'),
|
|
|
|
path('validate_email/resend/<int:pk>/', UserResendValidationEmailView.as_view(),
|
|
|
|
name='email_validation_resend'),
|
|
|
|
path('validate_email/<uidb64>/<token>/', UserValidateView.as_view(), name='email_validation'),
|
2020-09-22 10:27:03 +00:00
|
|
|
]
|