Fixed a changelog entry

This commit is contained in:
Armin Ronacher 2011-07-01 00:50:18 +02:00
parent 7e1ebae3a2
commit 8ba6673670

View file

@ -193,10 +193,11 @@ to upgrade. What changed?
location however. If you want to continue serving static files you location however. If you want to continue serving static files you
need to tell the constructor explicitly the path to the static folder need to tell the constructor explicitly the path to the static folder
(which can be relative to the blueprint's module path). (which can be relative to the blueprint's module path).
- Rendering templates was simplified. Now the general syntax is - Rendering templates was simplified. Now the blueprints can provide
``blueprint-shortname:template-name`` for rendering templates instead template folders which are added to a general template searchpath.
of ``blueprint-shortname/template-name`` which was confusing and often This means that you need to add another subfolder with the blueprint's
clashed with templates from the global template loader. name into that folder if you want ``blueprintname/template.html`` as
the template name.
If you continue to use the `Module` object which is deprecated, Flask will If you continue to use the `Module` object which is deprecated, Flask will
restore the previous behavior as good as possible. However we strongly restore the previous behavior as good as possible. However we strongly