diff options
author | luxagraf <sng@luxagraf.net> | 2019-05-02 10:33:56 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2019-05-02 10:33:56 -0500 |
commit | 92db07b730c81b6ae503e5a3bc38f103af8e84fa (patch) | |
tree | 01302a4ca3c1e1b1bf06c29a22cb3188499e11e3 /config/base_urls.py | |
parent | 9d73326aad4d9aee61a16f7274819fa93f32dc72 (diff) |
redirected sign up form
Diffstat (limited to 'config/base_urls.py')
-rw-r--r-- | config/base_urls.py | 2 |
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')), |