diff options
author | Paul Sokolovsky <paul.sokolovsky@linaro.org> | 2013-07-01 15:43:29 +0300 |
---|---|---|
committer | Paul Sokolovsky <paul.sokolovsky@linaro.org> | 2013-07-01 15:43:29 +0300 |
commit | fc3d368671121c556ccb9dadd0568cf1b53ff238 (patch) | |
tree | f511137f0ba2351855e7ae529c3bd34faf2bd86f /android_build/urls.py | |
parent | 002dccea7657b48299175d186490de9804d50ba9 (diff) |
lp:1196514 Add a Django app to increase login field length.
https://github.com/GoodCloud/django-longer-username
With Altassian Crowd auth, where email-like is used as username, default
30 chars is really a limitation.
Diffstat (limited to 'android_build/urls.py')
-rw-r--r-- | android_build/urls.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/android_build/urls.py b/android_build/urls.py index c893b52..889f01f 100644 --- a/android_build/urls.py +++ b/android_build/urls.py @@ -7,6 +7,7 @@ ############################################################################### from django.conf.urls.defaults import * +from longerusername.forms import AuthenticationForm # Uncomment the next two lines to enable the admin: from django.contrib import admin @@ -32,7 +33,7 @@ urlpatterns = patterns('', (r'^api/test-dir-exists$', 'android_build.frontend.api.test_remote_dir_exists'), (r'^openid/', include('django_openid_auth.urls')), - (r'^login', 'django.contrib.auth.views.login'), + (r'^login', 'django.contrib.auth.views.login', {'authentication_form': AuthenticationForm}), (r'^logout$', 'django.contrib.auth.views.logout'), # Uncomment the admin/doc line below to enable admin documentation: |