forked from orbit-oss/flask
More invalid doc fixing
This commit is contained in:
parent
8ba6673670
commit
0fb2e4c848
1 changed files with 6 additions and 4 deletions
|
|
@ -189,10 +189,12 @@ to upgrade. What changed?
|
||||||
some unnecessary leading dots in your code if you're not using
|
some unnecessary leading dots in your code if you're not using
|
||||||
modules.
|
modules.
|
||||||
- Blueprints do not automatically provide static folders. They will
|
- Blueprints do not automatically provide static folders. They will
|
||||||
still export templates from a folder called `templates` next to their
|
also no longer automatically export templates from a folder called
|
||||||
location however. If you want to continue serving static files you
|
`templates` next to their location however but it can be enabled from
|
||||||
need to tell the constructor explicitly the path to the static folder
|
the constructor. Same with static files: if you want to continue
|
||||||
(which can be relative to the blueprint's module path).
|
serving static files you need to tell the constructor explicitly the
|
||||||
|
path to the static folder (which can be relative to the blueprint's
|
||||||
|
module path).
|
||||||
- Rendering templates was simplified. Now the blueprints can provide
|
- Rendering templates was simplified. Now the blueprints can provide
|
||||||
template folders which are added to a general template searchpath.
|
template folders which are added to a general template searchpath.
|
||||||
This means that you need to add another subfolder with the blueprint's
|
This means that you need to add another subfolder with the blueprint's
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue