Open federicoaaguirre opened 8 years ago
(goooke)[user02@dj01 ccs]$ python manage.py makemigrations
Traceback (most recent call last):
File "manage.py", line 10, in
I've run into this issue myself and solved it by installing django-reversion with pip install django-reversion.
I didn't installed it because it said [OPTION] but it looks like it is required.
Maybe this can help you or someone running into this same issue
Hi all,
I'm can't run django admin with xadmin module installed :(
Unhandled exception in thread started by <function wrapper at 0x105ca8488> Traceback (most recent call last): File "/Library/Python/2.7/site-packages/django/utils/autoreload.py", line 226, in wrapper fn(_args, *_kwargs) File "/Library/Python/2.7/site-packages/django/core/management/commands/runserver.py", line 109, in inner_run autoreload.raise_last_exception() File "/Library/Python/2.7/site-packages/django/utils/autoreload.py", line 249, in raise_last_exception six.reraise(__exception) File "/Library/Python/2.7/site-packages/django/utils/autoreload.py", line 226, in wrapper fn(_args, kwargs) File "/Library/Python/2.7/site-packages/django/init.py", line 18, in setup apps.populate(settings.INSTALLED_APPS) File "/Library/Python/2.7/site-packages/django/apps/registry.py", line 85, in populate app_config = AppConfig.create(entry) File "/Library/Python/2.7/site-packages/django/apps/config.py", line 90, in create module = import_module(entry) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/init.py", line 37, in import_module import(name) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django_xadmin-0.5.0-py2.7.egg/xadmin/init.py", line 1, in
from xadmin.sites import AdminSite, site
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django_xadmin-0.5.0-py2.7.egg/xadmin/sites.py", line 342, in
site = AdminSite()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django_xadmin-0.5.0-py2.7.egg/xadmin/sites.py", line 42, in init
self.check_dependencies()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django_xadmin-0.5.0-py2.7.egg/xadmin/sites.py", line 163, in check_dependencies
from django.contrib.contenttypes.models import ContentType
File "/Library/Python/2.7/site-packages/django/contrib/contenttypes/models.py", line 161, in
class ContentType(models.Model):
File "/Library/Python/2.7/site-packages/django/db/models/base.py", line 94, in new**
app_config = apps.get_containing_app_config(module)
File "/Library/Python/2.7/site-packages/django/apps/registry.py", line 239, in get_containing_app_config
self.check_apps_ready()
File "/Library/Python/2.7/site-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.
Some help? any idea?