I ran into this problem myself upgrading to to django 1.7. The secret is 
that get_wsgi_application calls django.setup() which is now required to 
initialize django.

I went through and switched all my code to use get_wsgi_application(). 
get_wsgi_application() has been in the default wsgi.py in new projects 
since 1.4. You may alternatively call django.setup() manually, right before 
you create a WSGIHandler().

The docs mention it for plain python scripts, but don't mention it for wsgi.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/30ce9a0e-ec5f-435e-95aa-bb539ecf237c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to