Merge branch 'master' of http://github.com/mitsuhiko/flask into bug/216

This commit is contained in:
Kenneth Reitz 2011-06-16 17:18:40 -04:00
commit 4b1b89150a
2 changed files with 2 additions and 2 deletions

View file

@ -39,7 +39,7 @@ The idea is to set up the application in a function. Like this::
The downside is that you cannot use the application object in the modules
at import time. You can however use it from within a request. How do you
get access the application with the config? Use
get access to the application with the config? Use
:data:`~flask.current_app`::
from flask import current_app, Module, render_template

View file

@ -11,7 +11,7 @@ you do not, head over to the :ref:`installation` section.
A Minimal Application
---------------------
A minimal Flask application looks something like that::
A minimal Flask application looks something like this::
from flask import Flask
app = Flask(__name__)