Fixed #6753 -- Corrected typo in authentication docs, thanks piem@piem.org and PJCrosier.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7229 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Gary Wilson Jr 2008-03-12 06:42:09 +00:00
parent 54d5b9ec87
commit 79abd052e7
1 changed files with 12 additions and 12 deletions

View File

@ -88,7 +88,7 @@ objects in the same way as any other `Django model`_::
myuser.groups.clear()
myuser.user_permissions = [permission_list]
myuser.user_permissions.add(permission, permission, ...)
myuser.user_permissions.remove(permission, permission, ...]
myuser.user_permissions.remove(permission, permission, ...)
myuser.user_permissions.clear()
In addition to those automatic API methods, ``User`` objects have the following