Indeed, that was the recommandation until Django 1.3: https://docs.djangoproject.com/en/1.3/howto/deployment/modwsgi/
And it worked until Django 1.6 but breaks in 1.7. Sorry for missing that. We should add something in the release notes. Would you mind filing a ticket on https://code.djangoproject.com/? -- Aymeric. On 5 sept. 2014, at 09:14, Robert Grant <[email protected]> wrote: > I was using > > import django.core.handlers.wsgi > application = django.core.handlers.wsgi.WSGIHandler() > > as per whichever This Is The Right Way To Lay Out A Django Application > article I was reading at the time. This seems to now break in 1.7 (details - > from someone else - here), so I've replaced it with > > from django.core.wsgi import get_wsgi_application > from dj_static import Cling > > application = Cling(get_wsgi_application()) > > Which seems to work, although I don't know why. > > So: > 1) Is this a universal thing everyone should do? > 2) If everyone is going to hit this same issue, can we add it to the > migration docs? > 3) If it's already in the migration docs, apologies :) > > -- > 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/4a301792-988c-49a2-a86d-f08b20aee132%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- 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/BB8A8C3E-F24B-4CEA-A68B-3E7DB0699730%40polytechnique.org. For more options, visit https://groups.google.com/d/optout.
