diff options
| author | Joseph Kocherhans <joseph@jkocherhans.com> | 2006-06-06 01:21:49 +0000 |
|---|---|---|
| committer | Joseph Kocherhans <joseph@jkocherhans.com> | 2006-06-06 01:21:49 +0000 |
| commit | e976ed1f7910fad03704f88853c5c5b36cbab134 (patch) | |
| tree | c4c8d32d4298f64ad9ce8e7813084c2f45a9dc40 /docs/authentication.txt | |
| parent | 0c341d780ebcde0e81c81eda07e2db3aaa92549b (diff) | |
multi-auth: Merged to [3085]
git-svn-id: http://code.djangoproject.com/svn/django/branches/multi-auth@3086 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/authentication.txt')
| -rw-r--r-- | docs/authentication.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/authentication.txt b/docs/authentication.txt index 1be64c045a..c1a1f8494d 100644 --- a/docs/authentication.txt +++ b/docs/authentication.txt @@ -82,14 +82,14 @@ Methods ``user_permissions``. ``User`` objects can access their related objects in the same way as any other `Django model`_:: - ``myuser.objects.groups = [group_list]`` - ``myuser.objects.groups.add(group, group,...)`` - ``myuser.objects.groups.remove(group, group,...)`` - ``myuser.objects.groups.clear()`` - ``myuser.objects.permissions = [permission_list]`` - ``myuser.objects.permissions.add(permission, permission, ...)`` - ``myuser.objects.permissions.remove(permission, permission, ...]`` - ``myuser.objects.permissions.clear()`` + myuser.objects.groups = [group_list] + myuser.objects.groups.add(group, group,...) + myuser.objects.groups.remove(group, group,...) + myuser.objects.groups.clear() + myuser.objects.permissions = [permission_list] + myuser.objects.permissions.add(permission, permission, ...) + myuser.objects.permissions.remove(permission, permission, ...] + myuser.objects.permissions.clear() In addition to those automatic API methods, ``User`` objects have the following custom methods: |
