python - Django Nonrel Groups Issue -


django nonrel groups issue

django nonrel branch version 1.4 of django being used. groups from: https://github.com/django-nonrel/django-permission-backend-nonrel

the admin section works fine. able create groups, assign them users.

now adding them template throws error.

{% group in user.groups.all %}     {{group.name}}      {% endfor %} 

the error getting is:

this query not supported database. 

i believe user.groups list of keys groups. don't think djangotoolbox or djangoappengine generate query list of keys. can try updating djangotoolbox handle case, or more easily, can issue query outside template group.objects.filter(id__in=user.groups), , pass template.


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -