Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #2687 -- Fixed bug in docs/authentication.txt. Thanks, Collin G…

…rady

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3747 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 9b5807a3fe03439a69e65c3596be874d6941a7fc 1 parent 521c6a2
Adrian Holovaty authored September 11, 2006

Showing 1 changed file with 8 additions and 8 deletions. Show diff stats Hide diff stats

  1. 16  docs/authentication.txt
16  docs/authentication.txt
@@ -82,14 +82,14 @@ Methods
82 82
 ``user_permissions``. ``User`` objects can access their related
83 83
 objects in the same way as any other `Django model`_::
84 84
 
85  
-    myuser.objects.groups = [group_list]
86  
-    myuser.objects.groups.add(group, group,...)
87  
-    myuser.objects.groups.remove(group, group,...)
88  
-    myuser.objects.groups.clear()
89  
-    myuser.objects.permissions = [permission_list]
90  
-    myuser.objects.permissions.add(permission, permission, ...)
91  
-    myuser.objects.permissions.remove(permission, permission, ...]
92  
-    myuser.objects.permissions.clear()
  85
+    myuser.groups = [group_list]
  86
+    myuser.groups.add(group, group,...)
  87
+    myuser.groups.remove(group, group,...)
  88
+    myuser.groups.clear()
  89
+    myuser.permissions = [permission_list]
  90
+    myuser.permissions.add(permission, permission, ...)
  91
+    myuser.permissions.remove(permission, permission, ...]
  92
+    myuser.permissions.clear()
93 93
 
94 94
 In addition to those automatic API methods, ``User`` objects have the following
95 95
 custom methods:

0 notes on commit 9b5807a

Please sign in to comment.
Something went wrong with that request. Please try again.