Skip to content

Commit

Permalink
Added docs on use_evalex. This fixes #90
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsuhiko committed Jul 17, 2010
1 parent a3a72e2 commit e500838
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions flask/app.py
Expand Up @@ -371,6 +371,11 @@ def run(self, host='127.0.0.1', port=5000, **options):
:attr:`debug` flag is set the server will automatically reload
for code changes and show a debugger in case an exception happened.
If you want to run the application in debug mode, but disable the
code execution on the interactive debugger, you can pass
``use_evalex=False`` as parameter. This will keep the debugger's
traceback screen active, but disable code execution.
.. admonition:: Keep in Mind
Flask will suppress any server error with a generic error page
Expand Down

0 comments on commit e500838

Please sign in to comment.