diff options
author | lxf <sng@luxagraf.net> | 2019-05-02 15:38:28 +0000 |
---|---|---|
committer | lxf <sng@luxagraf.net> | 2019-05-02 15:38:28 +0000 |
commit | 5e545245ec2900aa33328629d18d4847860660bb (patch) | |
tree | 57dc1728e27eab9f82b5a3a49b00089ddd10cff8 /config | |
parent | 29520016f9039c669f725d693de22cdda8445e23 (diff) | |
parent | 92db07b730c81b6ae503e5a3bc38f103af8e84fa (diff) |
Merge branch 'master' of ssh://luxgit/luxagraf/fieldnotes
Diffstat (limited to 'config')
-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')), |