Skip to content
Myr

Merge pull request #630 from untitaker/doc_fix_appctx

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

Fix #623

authored by Kenneth Reitz · committed by Kenneth Reitz · parents 1e14783, 2b30900 · Browse files · 1 file+3 added−2 removed
This commit

State

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

Diff stats

1 file+3 added−2 removed

  • other:+3 added−2 removed

1 file+3 added−2 removed

modified:flask/helpers.py+3 added-2 removed
250 unmodified lines
251 """252 appctx = _app_ctx_stack.top253 reqctx = _request_ctx_stack.top254 if appctx is None:255 raise RuntimeError('Attempted to generate a URL with the application '256 'context being pushed. This has to be executed ')255 raise RuntimeError('Attempted to generate a URL without the '256 'application context being pushed. This has to be '257 'executed when application context is available.')258259 # If request specific information is available we have some extra260 # features that support "relative" urls.261 if reqctx is not None:
581 unmodified lines