aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/base_urls.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/base_urls.py b/config/base_urls.py
index 19d6499..022fbe4 100644
--- a/config/base_urls.py
+++ b/config/base_urls.py
@@ -4,6 +4,7 @@ from django.views.generic.base import RedirectView
from django.conf.urls import include, url
from django.conf.urls.static import static
from django.conf import settings
+from django.views.generic import RedirectView
from django_registration.backends.activation.views import RegistrationView
from rest_framework import routers
@@ -32,6 +33,7 @@ urlpatterns += [
path('magux/', admin.site.urls),
path(r'accounts/', include('django_registration.backends.activation.urls')),
path(r'accounts/', include('django.contrib.auth.urls')),
+ path(r'register/', RedirectView.as_view(url='/waitlist', permanent=False)),
path(r'register/', RegistrationView.as_view(form_class=UserForm), name='django_registration_register',),
path(r'settings/', include('accounts.urls')),
path(r'', include('django_registration.backends.activation.urls')),