From b57312a5159c9424473409ae81aabdd8d34c535f Mon Sep 17 00:00:00 2001 From: Gael Le Mignot Date: Wed, 6 Dec 2017 14:45:46 +0100 Subject: [PATCH] Using form from longerusername for login --- teleforma/urls.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/teleforma/urls.py b/teleforma/urls.py index 324832b2..cb065723 100644 --- a/teleforma/urls.py +++ b/teleforma/urls.py @@ -55,6 +55,10 @@ urlpatterns = patterns('', name="teleforma-login"), url(r'^$', 'django.contrib.auth.views.login', {'template_name': 'telemeta/login.html', 'authentication_form': AuthenticationForm }, name="home"), + url(r'^login/$', 'django.contrib.auth.views.login', {'template_name': 'telemeta/login.html', 'authentication_form': AuthenticationForm }, + name="telemeta-login"), + url(r'^accounts/login/$', 'django.contrib.auth.views.login', {'template_name': 'telemeta/login.html', 'authentication_form': AuthenticationForm }, + name="telemeta-login"), # url(r'^accounts/login/$', 'django.contrib.auth.views.login', {'authentication_form': AuthenticationForm}), # Telemeta -- 2.39.5