]> git.parisson.com Git - teleforma.git/commitdiff
Using form from longerusername for login
authorGael Le Mignot <gael@pilotsystems.net>
Wed, 6 Dec 2017 13:45:46 +0000 (14:45 +0100)
committerGael Le Mignot <gael@pilotsystems.net>
Wed, 6 Dec 2017 13:45:46 +0000 (14:45 +0100)
teleforma/urls.py

index 324832b2713059a674230f7b09603b7559653346..cb065723d737c284620ce0c04b019b99737cd4aa 100644 (file)
@@ -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