From cc64fb5c4b4315a4ad66e21458e27ece57266847 Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Thu, 2 Dec 2010 00:44:35 +0000 Subject: 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 --- docs/ref/contrib/admin/index.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs/ref') 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 -- cgit v1.3