Skip to content
Myr

Fixed a changelog entry

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 7e1ebae · Browse files · 1 file+5 added−4 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+5 added−4 removed

  • other:+5 added−4 removed

1 file+5 added−4 removed

modified:docs/upgrading.rst+5 added-4 removed
191 unmodified lines
192 still export templates from a folder called `templates` next to their193 location however. If you want to continue serving static files you194 need to tell the constructor explicitly the path to the static folder195 (which can be relative to the blueprint's module path).196- Rendering templates was simplified. Now the general syntax is197 ``blueprint-shortname:template-name`` for rendering templates instead198 of ``blueprint-shortname/template-name`` which was confusing and often199 clashed with templates from the global template loader.196- Rendering templates was simplified. Now the blueprints can provide197 template folders which are added to a general template searchpath.198 This means that you need to add another subfolder with the blueprint's199 name into that folder if you want ``blueprintname/template.html`` as200 the template name.201202If you continue to use the `Module` object which is deprecated, Flask will203restore the previous behavior as good as possible. However we strongly204recommend upgrading to the new blueprints as they provide a lot of useful
95 unmodified lines