Skip to content

Commit

Permalink
Fixed #2687 -- Fixed bug in docs/authentication.txt. Thanks, Collin G…
Browse files Browse the repository at this point in the history
…rady

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3747 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
adrianholovaty committed Sep 11, 2006
1 parent 521c6a2 commit 9b5807a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/authentication.txt
Expand Up @@ -82,14 +82,14 @@ Methods
``user_permissions``. ``User`` objects can access their related ``user_permissions``. ``User`` objects can access their related
objects in the same way as any other `Django model`_:: objects in the same way as any other `Django model`_::


myuser.objects.groups = [group_list] myuser.groups = [group_list]
myuser.objects.groups.add(group, group,...) myuser.groups.add(group, group,...)
myuser.objects.groups.remove(group, group,...) myuser.groups.remove(group, group,...)
myuser.objects.groups.clear() myuser.groups.clear()
myuser.objects.permissions = [permission_list] myuser.permissions = [permission_list]
myuser.objects.permissions.add(permission, permission, ...) myuser.permissions.add(permission, permission, ...)
myuser.objects.permissions.remove(permission, permission, ...] myuser.permissions.remove(permission, permission, ...]
myuser.objects.permissions.clear() myuser.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
custom methods: custom methods:
Expand Down

0 comments on commit 9b5807a

Please sign in to comment.