Re: Django User Permissions

2011-02-15 Thread David De La Harpe Golden
On 15/02/11 17:31, hank23 wrote: > So my question is what type of object is returned by user.user_permissions? First, N.B. you probably want to look at user.get_all_permissions(). user_permissions in particular doesn't represent all permissions a user "has" in the django.contrib.auth system, only

Django User Permissions

2011-02-15 Thread hank23
I'm trying to get used to working with django's user authentication framework and want to display the permissions for a user I've created. When I try to display the the permissions that I get back from user.user_permissions I had assumed that something like a list would be returned and be iterable,