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 <https://code.djangoproject.com/ticket/23146>), 
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 django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
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.

Reply via email to