Skip to content

Commit

Permalink
Fixed #4923 -- Fixed error in docs/authentication.txt. Thanks, django…
Browse files Browse the repository at this point in the history
…trac.20.skel@spamgourmet.org

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6037 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
adrianholovaty committed Sep 3, 2007
1 parent 41576fe commit 8e3507c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/authentication.txt
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8e3507c

Please sign in to comment.