forked from orbit-oss/flask
Spelling (#1998)
* spelling: cacheability * spelling: conceptually * spelling: javascript * spelling: reset * spelling: raised * comma: instead..., they...
This commit is contained in:
parent
3d856e03fc
commit
6e6c3a4636
5 changed files with 5 additions and 5 deletions
2
CHANGES
2
CHANGES
|
|
@ -327,7 +327,7 @@ Released on September 29th 2011, codename Rakija
|
||||||
- Applications now not only have a root path where the resources and modules
|
- Applications now not only have a root path where the resources and modules
|
||||||
are located but also an instance path which is the designated place to
|
are located but also an instance path which is the designated place to
|
||||||
drop files that are modified at runtime (uploads etc.). Also this is
|
drop files that are modified at runtime (uploads etc.). Also this is
|
||||||
conceptionally only instance depending and outside version control so it's
|
conceptually only instance depending and outside version control so it's
|
||||||
the perfect place to put configuration files etc. For more information
|
the perfect place to put configuration files etc. For more information
|
||||||
see :ref:`instance-folders`.
|
see :ref:`instance-folders`.
|
||||||
- Added the ``APPLICATION_ROOT`` configuration variable.
|
- Added the ``APPLICATION_ROOT`` configuration variable.
|
||||||
|
|
|
||||||
|
|
@ -177,7 +177,7 @@ The following configuration values are used internally by Flask:
|
||||||
behavior by changing this variable.
|
behavior by changing this variable.
|
||||||
This is not recommended but might give
|
This is not recommended but might give
|
||||||
you a performance improvement on the
|
you a performance improvement on the
|
||||||
cost of cachability.
|
cost of cacheability.
|
||||||
``JSONIFY_PRETTYPRINT_REGULAR`` If this is set to ``True`` (the default)
|
``JSONIFY_PRETTYPRINT_REGULAR`` If this is set to ``True`` (the default)
|
||||||
jsonify responses will be pretty printed
|
jsonify responses will be pretty printed
|
||||||
if they are not requested by an
|
if they are not requested by an
|
||||||
|
|
|
||||||
|
|
@ -77,7 +77,7 @@ You might want to show custom error pages to the user when an error occurs.
|
||||||
This can be done by registering error handlers.
|
This can be done by registering error handlers.
|
||||||
|
|
||||||
Error handlers are normal :ref:`views` but instead of being registered for
|
Error handlers are normal :ref:`views` but instead of being registered for
|
||||||
routes they are registered for exceptions that are rised while trying to
|
routes, they are registered for exceptions that are raised while trying to
|
||||||
do something else.
|
do something else.
|
||||||
|
|
||||||
Registering
|
Registering
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ creating the database schema as well as the main module.
|
||||||
|
|
||||||
As a quick side note, the files inside of the :file:`static` folder are
|
As a quick side note, the files inside of the :file:`static` folder are
|
||||||
available to users of the application via HTTP. This is the place where CSS and
|
available to users of the application via HTTP. This is the place where CSS and
|
||||||
Javascript files go. Inside the :file:`templates` folder, Flask will look for
|
JavaScript files go. Inside the :file:`templates` folder, Flask will look for
|
||||||
`Jinja2`_ templates. You will see examples of this later on.
|
`Jinja2`_ templates. You will see examples of this later on.
|
||||||
|
|
||||||
For now you should continue with :ref:`tutorial-schema`.
|
For now you should continue with :ref:`tutorial-schema`.
|
||||||
|
|
|
||||||
|
|
@ -844,7 +844,7 @@ class Flask(_PackageBoundObject):
|
||||||
run_simple(host, port, self, **options)
|
run_simple(host, port, self, **options)
|
||||||
finally:
|
finally:
|
||||||
# reset the first request information if the development server
|
# reset the first request information if the development server
|
||||||
# resetted normally. This makes it possible to restart the server
|
# reset normally. This makes it possible to restart the server
|
||||||
# without reloader and that stuff from an interactive shell.
|
# without reloader and that stuff from an interactive shell.
|
||||||
self._got_first_request = False
|
self._got_first_request = False
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue