Skip to content

Commit

Permalink
Added hint about print statements in CGI.
Browse files Browse the repository at this point in the history
  • Loading branch information
untitaker committed Dec 10, 2012
1 parent fedc96c commit 160aa80
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/deploying/cgi.rst
Expand Up @@ -16,6 +16,10 @@ Engine`_, where execution happens in a CGI-like environment.
not called because this will always start a local WSGI server which
we do not want if we deploy that application to CGI / app engine.

With CGI, you will also have to make sure that your code does not contain
any ``print`` statements, or that ``sys.stdin`` is overridden by something
that doesn't write into the HTTP response.

Creating a `.cgi` file
----------------------

Expand Down

0 comments on commit 160aa80

Please sign in to comment.