Fixed #4923 -- Fixed error in docs/authentication.txt. Thanks, djangotrac.20.skel@spamgourmet.org

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6037 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2007-09-03 06:16:47 +00:00
parent 41576fea71
commit 8e3507cd3e
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ function that comes with Django::
>>> from django.contrib.auth.models import User >>> from django.contrib.auth.models import User
>>> user = User.objects.create_user('john', 'lennon@thebeatles.com', 'johnpassword') >>> user = User.objects.create_user('john', 'lennon@thebeatles.com', 'johnpassword')
# At this point, user is a User object ready to be saved # At this point, user is a User object that has already been saved
# to the database. You can continue to change its attributes # to the database. You can continue to change its attributes
# if you want to change other fields. # if you want to change other fields.
>>> user.is_staff = True >>> user.is_staff = True