Ticket #6753: 6753.docs.authentication.diff

File 6753.docs.authentication.diff, 858 bytes (added by Pete Crosier, 17 years ago)

Cleaned up "method" example section

  • docs/authentication.txt

     
    8383objects in the same way as any other `Django model`_::
    8484
    8585    myuser.groups = [group_list]
    86     myuser.groups.add(group, group,...)
    87     myuser.groups.remove(group, group,...)
     86    myuser.groups.add(group, group, ...)
     87    myuser.groups.remove(group, group, ...)
    8888    myuser.groups.clear()
    8989    myuser.user_permissions = [permission_list]
    9090    myuser.user_permissions.add(permission, permission, ...)
    91     myuser.user_permissions.remove(permission, permission, ...]
     91    myuser.user_permissions.remove(permission, permission, ...)
    9292    myuser.user_permissions.clear()
    9393
    9494In addition to those automatic API methods, ``User`` objects have the following
Back to Top