jazzband/django-permission

users only can have one role.

SergioDzul opened this issue · 1 comments

django 1.8
when users have more than one role. the method utils.get_roles () generates an error when trying to run the filter (PrincipalRoleRelation.objects.filter) with a string. That marks the following error:

invalid literal for int() with base 10: ','
error strin in filter

As I said in #45, it is a issue of django-permissions. django-permission does not have any relationship between that.