Skip to content
Myr

Unify the uses of "urls" vs "URLs".

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

Use "URLs", which is more prevailing in the source code.

authored by Petr Zemek · committed by Petr Zemek · parent d1423b3 · 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:examples/blueprintexample/simple_page/templates/pages/layout.html+1 added-1 removed
modified:flask/helpers.py+2 added-2 removed
262 unmodified lines
263 'application context being pushed. This has to be '264 'executed when application context is available.')265266 # If request specific information is available we have some extra267 # features that support "relative" urls.267 # features that support "relative" URLs.268 if reqctx is not None:269 url_adapter = reqctx.url_adapter270 blueprint_name = request.blueprint271 if not reqctx.request._is_old_module:
11 unmodified lines
283 endpoint = endpoint[1:]284 external = values.pop('_external', False)285286 # Otherwise go with the url adapter from the appctx and make287 # the urls external by default.287 # the URLs external by default.288 else:289 url_adapter = appctx.url_adapter290 if url_adapter is None:291 raise RuntimeError('Application was not able to create a URL '
612 unmodified lines