I was, but it turns out that wasn't the issue. I asked the question on the pytools site (here), thinking it was possible an issue with wfastcgi. It turns out it's not an issue with wfastcgi. It's that At 1.6, the recommended handler was
On Monday, September 29, 2014 2:38:38 PM UTC-5, Collin Anderson wrote:
-- django.core.handlers.wsgi.WSGIHandler()
At 1.7, it seems the correct handler is now
django.core.wsgi.get_wsgi_application()
which calls django.setup() directly.
As soon as I replaced my handler in my web.config file, the issue disappeared. As you can see at the issue on the pytools site, there is still plenty of confusion as to the proper way to use wfastcgi in a pure wsgi application, but at least I can run my application. Thanks.
On Monday, September 29, 2014 2:38:38 PM UTC-5, Collin Anderson wrote:
Are you sure you're calling django.setup() before the first request happens?From what I can tell, an error happens while processing a request, and then this error happens while trying to generate a pretty error message.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1c6b650c-ba17-4aba-89cf-8a085a3d97b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment