Skip to content

Preventing IOerror on stdout with modWSGI

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

    No Comments ( Add comment / trackback )

    Post a comment

    (required)
    (required)

    Your email is never published nor shared.

    (optional)
    Allowed HTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>