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, but it's neither. So my question is what type of object is returned by user.user_permissions? Or alternatively how can I code type check logic to figure out what type it is? Thanks for the help.
-- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.