diff options
| author | Jannis Leidel <jannis@leidel.info> | 2010-12-02 00:44:35 +0000 |
|---|---|---|
| committer | Jannis Leidel <jannis@leidel.info> | 2010-12-02 00:44:35 +0000 |
| commit | cc64fb5c4b4315a4ad66e21458e27ece57266847 (patch) | |
| tree | 2f83c93a64b5abc395282eca9d17fc8b335fed1a /docs/ref | |
| parent | 07705ca12982b6a87cfd9f62723153fb94f151b2 (diff) | |
Fixed #8342 -- Removed code from the admin that assumed that you can't login with an email address (nixed by r12634). Also refactored login code slightly to be DRY by using more of auth app's forms and views.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14769 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/admin/index.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index 89478df65b..15a5ba2c55 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -1459,6 +1459,13 @@ Path to a custom template that will be used by the admin site main index view. Path to a custom template that will be used by the admin site login view. +.. versionadded:: 1.3 + +.. attribute:: AdminSite.login_form + +Subclass of :class:`~django.contrib.auth.forms.AuthenticationForm` that will +be used by the admin site login view. + .. attribute:: AdminSite.logout_template .. versionadded:: 1.2 |
