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:
parent
41576fea71
commit
8e3507cd3e
|
@ -190,7 +190,7 @@ function that comes with Django::
|
|||
>>> from django.contrib.auth.models import User
|
||||
>>> 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
|
||||
# if you want to change other fields.
|
||||
>>> user.is_staff = True
|
||||
|
|
Loading…
Reference in New Issue