jazzband / django-authority

A Django app that provides generic per-object-permissions for Django's auth app and helpers to create custom permission checks.
http://django-authority.readthedocs.org
BSD 3-Clause "New" or "Revised" License
292 stars 57 forks source link

Django1.8: Use prefetch_related for M2M to `user__groups` #44

Closed bocribbz closed 8 years ago

bocribbz commented 8 years ago

Add tox tests for Django 1.8.

Since select_related doesn't work with M2M fields, Django 1.8 is raising an error.

Switched to using prefetch_related and dropped support for Django 1.3.