Skip to content
Myr

Fixed a bug, view_args not values

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 · parent 4d6cd1a · Browse files · 2 files+2 added−1 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+2 added−1 removed

  • other:+2 added−1 removed

2 files+2 added−1 removed

modified:flask/__init__.py+1 added
21 unmodified lines
22 get_template_attribute, make_response, safe_join23from .globals import current_app, g, request, session, _request_ctx_stack24from .ctx import has_request_context25from .module import Module26from .blueprints import Blueprint27from .templating import render_template, render_template_string28from .session import Session2930# the signals
6 unmodified lines
modified:flask/app.py+1 added-1 removed
1041 unmodified lines
1042 funcs = self.url_value_preprocessors.get(None, ())1043 if bp is not None and bp in self.url_value_preprocessors:1044 funcs = chain(funcs, self.url_value_preprocessors[bp])1045 for func in funcs:1046 func(request.endpoint, request.values)1046 func(request.endpoint, request.view_args)10471048 funcs = self.before_request_funcs.get(None, ())1049 if bp is not None and bp in self.before_request_funcs:1050 funcs = chain(funcs, self.before_request_funcs[bp])
140 unmodified lines