Django 1.7 upgrade error: AppRegistryNotReady: Apps aren't loaded yet Django 1.7 upgrade error: AppRegistryNotReady: Apps aren't loaded yet django django

Django 1.7 upgrade error: AppRegistryNotReady: Apps aren't loaded yet


I had a similar (the same?) isssue when upgrading to Django 1.7. In may case, it was enough to update the wsgi file: replace

import django.core.handlers.wsgiapplication = django.core.handlers.wsgi.WSGIHandler()

with

from django.core.wsgi import get_wsgi_applicationapplication = get_wsgi_application()


I was looking through all these thread to get celery working on windows (with this particular error message) and I just want to emphasize putting

import djangodjango.setup()

at the top of your tasks.py file, this is finally what got it working for me.