diff --git a/CHANGES.rst b/CHANGES.rst index cc31c665..66a39e83 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -44,15 +44,7 @@ Unreleased :issue:`3215` - Include ``samesite`` and ``secure`` options when removing the session cookie. :pr:`3726` - - -Version 1.1.x -------------- - -Not yet released. - -- Officially support passing a :class:`pathlib.Path` for - ``static_folder`` which stopped working in 1.1.2. :pr:`3579` +- Support passing a ``pathlib.Path`` to ``static_folder``. :pr:`3579` Version 1.1.2 diff --git a/docs/appcontext.rst b/docs/appcontext.rst index e5e326fd..68176494 100644 --- a/docs/appcontext.rst +++ b/docs/appcontext.rst @@ -117,7 +117,7 @@ For example, you can manage a database connection using this pattern:: return g.db @app.teardown_appcontext - def teardown_db(): + def teardown_db(exception): db = g.pop('db', None) if db is not None: diff --git a/docs/deploying/mod_wsgi.rst b/docs/deploying/mod_wsgi.rst index 1ac9080a..801dfa5c 100644 --- a/docs/deploying/mod_wsgi.rst +++ b/docs/deploying/mod_wsgi.rst @@ -25,7 +25,7 @@ follows: .. sourcecode:: text - $ apt-get install libapache2-mod-wsgi + $ apt-get install libapache2-mod-wsgi-py3 If you are using a yum based distribution (Fedora, OpenSUSE, etc..) you can install it as follows: @@ -39,7 +39,7 @@ using pkg_add: .. sourcecode:: text - $ pkg install ap22-mod_wsgi2 + $ pkg install ap24-py37-mod_wsgi If you are using pkgsrc you can install `mod_wsgi` by compiling the `www/ap2-wsgi` package. diff --git a/docs/errorhandling.rst b/docs/errorhandling.rst index a20f1d73..d1b35699 100644 --- a/docs/errorhandling.rst +++ b/docs/errorhandling.rst @@ -70,7 +70,7 @@ See also: (RQ, Celery, etc.) in a similar fashion. See the `Python SDK docs `__ for more information. - `Getting started with Sentry `__ -- `Flask-specific documentation `__ +- `Flask-specific documentation `__ Error Handlers diff --git a/docs/quickstart.rst b/docs/quickstart.rst index c4a134a7..2a5f524c 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -105,7 +105,7 @@ First of all you need to look at the error message. Old Version of Flask ```````````````````` -Versions of Flask older than 0.11 use to have different ways to start the +Versions of Flask older than 0.11 used to have different ways to start the application. In short, the :command:`flask` command did not exist, and neither did :command:`python -m flask`. In that case you have two options: either upgrade to newer Flask versions or have a look at :doc:`/server`