By default, you can’t use prints in a django app, because mod_wsgi restricts that. You can change that by putting this in your configuration:
WSGIRestrictStdout Off
Smokes your problems, coughs fresh air.
By default, you can’t use prints in a django app, because mod_wsgi restricts that. You can change that by putting this in your configuration:
WSGIRestrictStdout Off
For the record, when deploying mod wsgi apps, remember to enable optimizations in mod_wsgi.conf. Otherwise debug will be true.
© 2024 BigSmoke
Theme by Anders Noren — Up ↑
Recent Comments