From: Gael Le Mignot Date: Wed, 6 Dec 2017 13:45:46 +0000 (+0100) Subject: Using form from longerusername for login X-Git-Tag: 2.8.1-pro~216^2~1 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=b57312a5159c9424473409ae81aabdd8d34c535f;p=teleforma.git Using form from longerusername for login --- 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