- changed status to duplicate
AppRegistryNotReady: Models aren't loaded yet
Issue #54
duplicate
Is postman compatible with Django 1.7? I'm seeing this during installation (after a pip install, and adding 'postman' to INSTALLED_APPS).:
File "/Users/shacker/Sites/virtualenvs/ccademo/lib/python2.7/site-packages/postman/models.py", line 42, in <module>
'f': 'sender__' + get_user_model().USERNAME_FIELD, # as 'from'
File "/Users/shacker/Sites/virtualenvs/ccademo/lib/python2.7/site-packages/django/contrib/auth/__init__.py", line 136, in get_user_model
return django_apps.get_model(settings.AUTH_USER_MODEL)
File "/Users/shacker/Sites/virtualenvs/ccademo/lib/python2.7/site-packages/django/apps/registry.py", line 199, in get_model
self.check_models_ready()
File "/Users/shacker/Sites/virtualenvs/ccademo/lib/python2.7/site-packages/django/apps/registry.py", line 131, in check_models_ready
raise AppRegistryNotReady("Models aren't loaded yet.")
django.core.exceptions.AppRegistryNotReady: Models aren't loaded yet.
I am using the default AUTH_USER_MODEL (auth.User)
Is this a known issue or have I missed a step?
Comments (4)
-
repo owner -
repo owner This issue has been fixed after 3.1.0. Sorry, pypi is not up-to-date, you should take the app from here, currently at version 3.2.0a1.
-
repo owner -
assigned issue to
-
assigned issue to
-
Account Deleted Ah! Thanks much. I had used pip to avoid having to install brew just to get hg on Mac. But now I see that I can clone directly from bitbucket to SourceTree, from which I can do a manual install, so there is another way.
I really appreciate django-postman, btw - it's a fantastic app and impresses the heck out of my bosses :)
- Log in to comment
Duplicate of
#45.