Browse Source

Fixed a changelog entry

pull/269/merge
Armin Ronacher 14 years ago
parent
commit
8ba6673670
  1. 9
      docs/upgrading.rst

9
docs/upgrading.rst

@ -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

Loading…
Cancel
Save