1
0
Fork 0
mirror of https://github.com/Findus23/RPGnotes.git synced 2024-09-19 15:43:45 +02:00
RPGnotes/users/urls.py

25 lines
593 B
Python
Raw Normal View History

2021-09-05 22:04:14 +02:00
from django.urls import path
from django.views.generic.base import TemplateView
from . import views
urlpatterns = [
path(
"activate/<str:activation_key>/",
views.CustomActivationView.as_view(),
name="django_registration_activate",
),
path(
"register/",
views.CustomRegistrationView.as_view(),
name="django_registration_register",
),
path(
"register/closed/",
TemplateView.as_view(
template_name="users/registration_closed.html"
),
name="django_registration_disallowed",
),
]