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

24 lines
600 B
Python

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="registration/registration_closed.html"
),
name="django_registration_disallowed",
),
]