Skip to content
Myr

Spelling (#1998)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

* spelling: cacheability * spelling: conceptually * spelling: javascript * spelling: reset * spelling: raised * comma: instead..., they...

authored by Josh Soref · committed by Markus Unterwaditzer · parent 3d856e0 · Browse files · 5 files+5 added−5 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

5 files+5 added−5 removed

  • other:+5 added−5 removed

5 files+5 added−5 removed

modified:docs/tutorial/folders.rst+1 added-1 removed
17 unmodified lines
18creating the database schema as well as the main module.1920As a quick side note, the files inside of the :file:`static` folder are21available to users of the application via HTTP. This is the place where CSS and22Javascript files go. Inside the :file:`templates` folder, Flask will look for22JavaScript files go. Inside the :file:`templates` folder, Flask will look for23`Jinja2`_ templates. You will see examples of this later on.2425For now you should continue with :ref:`tutorial-schema`.26
1 unmodified line
modified:docs/config.rst+1 added-1 removed
175 unmodified lines
176 caches. You can override the default177 behavior by changing this variable.178 This is not recommended but might give179 you a performance improvement on the180 cost of cachability.180 cost of cacheability.181``JSONIFY_PRETTYPRINT_REGULAR`` If this is set to ``True`` (the default)182 jsonify responses will be pretty printed183 if they are not requested by an184 XMLHttpRequest object (controlled by
281 unmodified lines
modified:docs/errorhandling.rst+1 added-1 removed
75 unmodified lines
76You might want to show custom error pages to the user when an error occurs.77This can be done by registering error handlers.7879Error handlers are normal :ref:`views` but instead of being registered for80routes they are registered for exceptions that are rised while trying to80routes, they are registered for exceptions that are raised while trying to81do something else.8283Registering84```````````
309 unmodified lines
modified:flask/app.py+1 added-1 removed
842 unmodified lines
843 try:844 run_simple(host, port, self, **options)845 finally:846 # reset the first request information if the development server847 # resetted normally. This makes it possible to restart the server847 # reset normally. This makes it possible to restart the server848 # without reloader and that stuff from an interactive shell.849 self._got_first_request = False850851 def test_client(self, use_cookies=True, **kwargs):
1141 unmodified lines
modified:CHANGES+1 added-1 removed
325 unmodified lines
326 error if not handled. This is a backwards incompatible change.327- Applications now not only have a root path where the resources and modules328 are located but also an instance path which is the designated place to329 drop files that are modified at runtime (uploads etc.). Also this is330 conceptionally only instance depending and outside version control so it's330 conceptually only instance depending and outside version control so it's331 the perfect place to put configuration files etc. For more information332 see :ref:`instance-folders`.333- Added the ``APPLICATION_ROOT`` configuration variable.334- Implemented :meth:`~flask.testing.TestClient.session_transaction` to
257 unmodified lines