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

@ -83,12 +83,12 @@ Methods
objects in the same way as any other `Django model`_::
myuser.groups = [group_list]
myuser.groups.add(group, group,...)
myuser.groups.remove(group, group,...)
myuser.groups.add(group, group, ...)
myuser.groups.remove(group, group, ...)
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