File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,10 +11,11 @@ v.2.9.0 TBA
1111==================
1212
1313Deprecations:
14- * `c.action ` and `c.controller ` variables should be avoided. Refer to either `request.enpoint `
15- (generally it will be string in format `BLUEPRINT_NAME.VIEW_NAME `, where blueprint is an
16- alternative of controller and view is an alternative of action) or `request.url_rule`(which is
17- object with additional information about current rule)
14+ * ``c.action `` and ``c.controller `` variables should be avoided.
15+ Refer to either ``request.enpoint `` (generally it will be string in format
16+ ``BLUEPRINT_NAME.VIEW_NAME ``, where blueprint is an alternative of
17+ controller and view is an alternative of action) or ``request.url_rule ``
18+ (which is object with additional information about current rule).
1819
1920v.2.8.0 2018-05-09
2021==================
Original file line number Diff line number Diff line change @@ -185,6 +185,8 @@ def set_controller_and_action():
185185 try :
186186 controller , action = request .endpoint .split (u'.' )
187187 except ValueError :
188- log .debug (u'Endpoint does not contain dot: {}' .format (request .endpoint ))
188+ log .debug (
189+ u'Endpoint does not contain dot: {}' .format (request .endpoint )
190+ )
189191 controller = action = request .endpoint
190192 g .controller , g .action = controller , action
You can’t perform that action at this time.
0 commit comments