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

Django 1.7 #39

Closed vtemian closed 7 years ago

vtemian commented 9 years ago

In django 1.7, app-loading was refactor and because django-authority uses get_user_model, an AppRegistryNotReady: Models aren't loaded yet. was thrown.

A common fix to this error is to use settings.AUTH_USER_MODEL, specified in docs

ramusus commented 9 years ago

+1 for merge

auvipy commented 7 years ago

1.10 compat 14b92a0dcd138f1bc9a6fac76040fb26b8bdbdf1