django-mongoadmin icon indicating copy to clipboard operation
django-mongoadmin copied to clipboard

Django version 1.9 above, we are getting this problem

Open xdesign-johnolegario opened this issue 7 years ago • 4 comments

Traceback (most recent call last): File "manage.py", line 8, in django.setup() File "/usr/local/lib/python2.7/dist-packages/django/init.py", line 27, in setup apps.populate(settings.INSTALLED_APPS) File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py", line 85, in populate app_config = AppConfig.create(entry) 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/mongoadmin/init.py", line 1, in from .options import * File "/usr/local/lib/python2.7/dist-packages/mongoadmin/options.py", line 6, in from mongoadmin.contenttypes.models import ContentType File "/usr/local/lib/python2.7/dist-packages/mongoadmin/contenttypes/models.py", line 1, in from .utils import has_rel_db, get_model_or_document File "/usr/local/lib/python2.7/dist-packages/mongoadmin/contenttypes/utils.py", line 5, 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.

xdesign-johnolegario avatar Mar 31 '17 10:03 xdesign-johnolegario

Having the exact same issue with Django 1.11.4 Installed versions: Django (1.11.4) django-mongodbforms (0.3.1) mongoadmin (0.2) mongoengine (0.13.0)

Bellaby avatar Aug 13 '17 07:08 Bellaby

+1 please help

sebitoelcheater avatar Oct 05 '17 21:10 sebitoelcheater

+1

MiltosD avatar Apr 20 '18 08:04 MiltosD

yo, try this fork: https://github.com/hywhut/django-mongoadmin

v0y avatar Apr 24 '18 09:04 v0y