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:
parent
54d5b9ec87
commit
79abd052e7
|
@ -88,7 +88,7 @@ objects in the same way as any other `Django model`_::
|
||||||
myuser.groups.clear()
|
myuser.groups.clear()
|
||||||
myuser.user_permissions = [permission_list]
|
myuser.user_permissions = [permission_list]
|
||||||
myuser.user_permissions.add(permission, permission, ...)
|
myuser.user_permissions.add(permission, permission, ...)
|
||||||
myuser.user_permissions.remove(permission, permission, ...]
|
myuser.user_permissions.remove(permission, permission, ...)
|
||||||
myuser.user_permissions.clear()
|
myuser.user_permissions.clear()
|
||||||
|
|
||||||
In addition to those automatic API methods, ``User`` objects have the following
|
In addition to those automatic API methods, ``User`` objects have the following
|
||||||
|
|
Loading…
Reference in New Issue