Fix a few spelling mistakes in the docs
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Alex Chan · committed by Alex Chan · parent b57a076 · Browse files · 5 files·+6 added−6 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+6 added−6 removed
- other:+6 added−6 removed
Provenance
- Commit
8570633- Tree
db14bf4- Author
Alex Chan <alex@alexwlchan.net>- Committer
Alex Chan <alex@alexwlchan.net>- Parent
b57a076
5 files changed+6 added−6 removed
modified:docs/patterns/appdispatch.rst+1 added-1 removed
28 unmodified lines29 30 Note that :func:`run_simple <werkzeug.serving.run_simple>` is not intended for31 use in production. Use a :ref:`full-blown WSGI server <deployment>`.32 33-In order to use the interactive debuggger, debugging must be enabled both on33+In order to use the interactive debugger, debugging must be enabled both on34 the application and the simple server, here is the "hello world" example with35 debugging and :func:`run_simple <werkzeug.serving.run_simple>`::36 37 from flask import Flask151 unmodified linesmodified:docs/tutorial/templates.rst+1 added-1 removed
1 unmodified line2 3 Step 6: The Templates4 =====================5 6-Now we should start working on the templates. If we were torequest the URLs6+Now we should start working on the templates. If we were to request the URLs7 now, we would only get an exception that Flask cannot find the templates. The8 templates are using `Jinja2`_ syntax and have autoescaping enabled by9 default. This means that unless you mark a value in the code with10 :class:`~flask.Markup` or with the ``|safe`` filter in the template,101 unmodified linesmodified:docs/python3.rst+1 added-1 removed
25 unmodified lines26 that most libraries (including Werkzeug and Flask) might not quite as stable27 on Python 3 yet. You might therefore sometimes run into bugs that are28 usually encoding-related.29 30-The majority of the upgrade pain is in the lower-level libararies like30+The majority of the upgrade pain is in the lower-level libraries like31 Flask and Werkzeug and not in the actual high-level application code. For32 instance all of the Flask examples that are in the Flask repository work33 out of the box on both 2.x and 3.x and did not require a single line of34 code changed.modified:docs/server.rst+1 added-1 removed
10 unmodified lines11 12 Command Line13 ------------14 15-The :command:`flask` command line script (:ref:`cli`) is strongly recommende for15+The :command:`flask` command line script (:ref:`cli`) is strongly recommended for16 development because it provides a superior reload experience due to how it17 loads the application. The basic usage is like this::18 19 $ flask -a my_application --debug run31 unmodified linesmodified:docs/upgrading.rst+2 added-2 removed
256 unmodified lines257 applications automatically, but there might be some cases where it fails258 to upgrade. What changed?259 260 - Blueprints need explicit names. Modules had an automatic name261- guesssing scheme where the shortname for the module was taken from the261+ guessing scheme where the shortname for the module was taken from the262 last part of the import module. The upgrade script tries to guess263 that name but it might fail as this information could change at264 runtime.265 - Blueprints have an inverse behavior for :meth:`url_for`. Previously29 unmodified lines295 Flask 0.6 comes with a backwards incompatible change which affects the296 order of after-request handlers. Previously they were called in the order297 of the registration, now they are called in reverse order. This change298 was made so that Flask behaves more like people expected it to work and299-how other systems handle request pre- and postprocessing. If you299+how other systems handle request pre- and post-processing. If you300 depend on the order of execution of post-request functions, be sure to301 change the order.302 303 Another change that breaks backwards compatibility is that context79 unmodified lines