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.
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)
yo, try this fork: https://github.com/hywhut/django-mongoadmin
Apr 24
'18 09:04
v0y