Browse Source

Merge pull request #562 from yaph/master

Small improvement to docs
pull/563/head
Kenneth Reitz 12 years ago
parent
commit
0f3bc38a18
  1. 3
      docs/appcontext.rst
  2. 2
      docs/quickstart.rst

3
docs/appcontext.rst

@ -44,8 +44,7 @@ you can have more than one application in the same Python process.
So how does the code find the “right” application? In the past we So how does the code find the “right” application? In the past we
recommended passing applications around explicitly, but that caused issues recommended passing applications around explicitly, but that caused issues
with libraries that were not designed with that in mind for libraries for with libraries that were not designed with that in mind.
which it was too inconvenient to make this work.
A common workaround for that problem was to use the A common workaround for that problem was to use the
:data:`~flask.current_app` proxy later on, which was bound to the current :data:`~flask.current_app` proxy later on, which was bound to the current

2
docs/quickstart.rst

@ -377,7 +377,7 @@ package it's actually inside your package:
/hello.html /hello.html
For templates you can use the full power of Jinja2 templates. Head over For templates you can use the full power of Jinja2 templates. Head over
to the the official `Jinja2 Template Documentation to the official `Jinja2 Template Documentation
<http://jinja.pocoo.org/2/documentation/templates>`_ for more information. <http://jinja.pocoo.org/2/documentation/templates>`_ for more information.
Here is an example template: Here is an example template:

Loading…
Cancel
Save