I am trying to upgrade a project from Django 1.6 to 1.7. I get the following error:
[Thu Oct 09 14:16:41 2014] [error] [client 95.79.172.156] mod_wsgi (pid=1
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 django
django.setup()
at the top of your tasks.py file, this is finally what got it working for me.
I got this error when I tried to import models from the app's __init__.py
, which is not possible.