From 14fb13da7ef3137a6b166c77724c3d790795e212 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Fri, 29 Sep 2006 13:37:58 +0000 Subject: Disabled access to the admin site for inactive accounts, and clarified documentation regarding User.is_active. Thanks to Enrico for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3884 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/authentication.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/authentication.txt b/docs/authentication.txt index 6d345adaec..a6ea2b7b02 100644 --- a/docs/authentication.txt +++ b/docs/authentication.txt @@ -66,8 +66,8 @@ Fields long and can contain any character. See the "Passwords" section below. * ``is_staff`` -- Boolean. Designates whether this user can access the admin site. - * ``is_active`` -- Boolean. Designates whether this user can log into the - Django admin. Set this to ``False`` instead of deleting accounts. + * ``is_active`` -- Boolean. Designates whether this account can be used + to log in. Set this flag to ``False`` instead of deleting accounts. * ``is_superuser`` -- Boolean. Designates that this user has all permissions without explicitly assigning them. * ``last_login`` -- A datetime of the user's last login. Is set to the -- cgit v1.3