You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This may just be a wontfix, but wanted to at least make the issue known. In short rest_framework.compat cannot be imported during the Django's app registration/initialization process when django-guardian is in the INSTALLED_APPS. guardian.shortcuts imports Django's auth models, which in turn raises an AppRegistryNotReady exception.
This may just be a wontfix, but wanted to at least make the issue known. In short
rest_framework.compat
cannot be imported during the Django's app registration/initialization process when django-guardian is in theINSTALLED_APPS
.guardian.shortcuts
imports Django's auth models, which in turn raises anAppRegistryNotReady
exception.Relevant portion of the stack trace:
See carltongibson/django-filter#525 for more context.
Checklist
master
branch of Django REST framework.Steps to reproduce
As an example, add
'guardian'
and'django_filters'
toINSTALLED_APPS
.The text was updated successfully, but these errors were encountered: