fdegrave / djangodoo

Django app to ease the interactions between Django and Odoo
Other
53 stars 21 forks source link

Apps aren't loaded yet error #6

Open iammiracle opened 7 years ago

iammiracle commented 7 years ago

I got an error when trying to use djangodoo

File "/usr/local/lib/python2.7/dist-packages/django/apps/config.py", line 90, in create module = import_module(entry) File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module import(name) File "/usr/local/lib/python2.7/dist-packages/djangodoo/init.py", line 7, in from django.contrib.contenttypes.models import ContentType File "/usr/local/lib/python2.7/dist-packages/django/contrib/contenttypes/models.py", line 138, in class ContentType(models.Model): File "/usr/local/lib/python2.7/dist-packages/django/db/models/base.py", line 105, in new app_config = apps.get_containing_app_config(module) File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py", line 237, in get_containing_app_config self.check_apps_ready() File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py", line 124, in check_apps_ready raise AppRegistryNotReady("Apps aren't loaded yet.") django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.

When i comment out the package on INSTALLED_APPS, and the model..the application works fine but when i enable the package i get the above error.

Any fix?

ivantelix commented 4 years ago

I also have this error.