Skip to content
Myr

More invalid doc fixing

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 8ba6673 · Browse files · 1 file+6 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+6 added−4 removed

  • other:+6 added−4 removed

1 file+6 added−4 removed

modified:docs/upgrading.rst+6 added-4 removed
187 unmodified lines
188 you. It will do this in a very eager way so you might end up with189 some unnecessary leading dots in your code if you're not using190 modules.191- Blueprints do not automatically provide static folders. They will192 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).192 also no longer automatically export templates from a folder called193 `templates` next to their location however but it can be enabled from194 the constructor. Same with static files: if you want to continue195 serving static files you need to tell the constructor explicitly the196 path to the static folder (which can be relative to the blueprint's197 module path).198- Rendering templates was simplified. Now the blueprints can provide199 template folders which are added to a general template searchpath.200 This means that you need to add another subfolder with the blueprint's201 name into that folder if you want ``blueprintname/template.html`` as
100 unmodified lines