From 92db07b730c81b6ae503e5a3bc38f103af8e84fa Mon Sep 17 00:00:00 2001 From: luxagraf Date: Thu, 2 May 2019 10:33:56 -0500 Subject: redirected sign up form --- config/base_urls.py | 2 ++ design/templates/base.html | 8 ++++---- 2 files changed, 6 insertions(+), 4 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')), diff --git a/design/templates/base.html b/design/templates/base.html index 7049d5e..c222906 100644 --- a/design/templates/base.html +++ b/design/templates/base.html @@ -4,10 +4,10 @@ - {% block pagetitle %}{% endblock %}TKNotes + {% block pagetitle %}{% endblock %} - LuxNotes - - + + @@ -48,7 +48,7 @@