Skip to content
Myr

Merge branch 'master' of github.com:mitsuhiko/flask

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parents 4f1cb42, 3b9fe7c · Browse files · 2 files+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+3 added−3 removed

  • other:+3 added−3 removed

2 files+3 added−3 removed

modified:flask/app.py+1 added-1 removed
1263 unmodified lines
1264 raise exc_type, exc_value, tb12651266 def handle_exception(self, e):1267 """Default exception handling that kicks in when an exception1268 occours that is not caught. In debug mode the exception will1268 occurs that is not caught. In debug mode the exception will1269 be re-raised immediately, otherwise it is logged and the handler1270 for a 500 internal server error is used. If no such handler1271 exists, a default 500 internal server error message is displayed.1272
429 unmodified lines
modified:flask/templating.py+2 added-2 removed
127 unmodified lines
128def render_template_string(source, **context):129 """Renders a template from the given template source string130 with the given context.131132 :param template_name: the sourcecode of the template to be133 rendered132 :param source: the sourcecode of the template to be133 rendered134 :param context: the variables that should be available in the135 context of the template.136 """137 ctx = _request_ctx_stack.top
3 unmodified lines