#2687: Invalid example in user auth docs
-----------------------------------------------+----------------------------
 Reporter:  Collin Grady <[EMAIL PROTECTED]>  |       Owner:  jacob
     Type:  defect                             |      Status:  new  
 Priority:  normal                             |   Milestone:       
Component:  Documentation                      |     Version:       
 Severity:  normal                             |    Keywords:       
-----------------------------------------------+----------------------------
 In the Methods section (
 http://www.djangoproject.com/documentation/authentication/#id5 )
 
 The docs contain the following example:
 
 
 {{{
 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()
 }}}
 
 
 However this is invalid - it should read as follows:
 
 
 {{{
 myuser.groups = [group_list]
 myuser.groups.add(group, group,...)
 myuser.groups.remove(group, group,...)
 myuser.groups.clear()
 myuser.permissions = [permission_list]
 myuser.permissions.add(permission, permission, ...)
 myuser.permissions.remove(permission, permission, ...]
 myuser.permissions.clear()
 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/2687>
Django <http://code.djangoproject.org/>
The web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---

Reply via email to