Merge branch '1.1.x'
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by David Lord · committed by David Lord · parents 22987b6, 577eec1 · Browse files · 5 files·+6 added−14 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−14 removed
- other:+6 added−14 removed
Provenance
- Commit
15a49e7- Tree
c328310- Author
David Lord <davidism@gmail.com>- Committer
David Lord <davidism@gmail.com>- Parent 1
22987b6- Parent 2
577eec1
5 files changed+6 added−14 removed
modified:docs/deploying/mod_wsgi.rst+2 added-2 removed
23 unmodified lines24 follows:25 26 .. sourcecode:: text27 28- $ apt-get install libapache2-mod-wsgi28+ $ apt-get install libapache2-mod-wsgi-py329 30 If you are using a yum based distribution (Fedora, OpenSUSE, etc..) you31 can install it as follows:32 5 unmodified lines38 using pkg_add:39 40 .. sourcecode:: text41 42- $ pkg install ap22-mod_wsgi242+ $ pkg install ap24-py37-mod_wsgi43 44 If you are using pkgsrc you can install `mod_wsgi` by compiling the45 `www/ap2-wsgi` package.46 170 unmodified linesmodified:docs/appcontext.rst+1 added-1 removed
115 unmodified lines116 117 return g.db118 119 @app.teardown_appcontext120- def teardown_db():120+ def teardown_db(exception):121 db = g.pop('db', None)122 123 if db is not None:124 db.close()33 unmodified linesmodified:docs/errorhandling.rst+1 added-1 removed
68 unmodified lines69 - Sentry also supports catching errors from a worker queue70 (RQ, Celery, etc.) in a similar fashion. See the `Python SDK docs71 <https://docs.sentry.io/platforms/python/>`__ for more information.72 - `Getting started with Sentry <https://docs.sentry.io/quickstart/?platform=python>`__73-- `Flask-specific documentation <https://docs.sentry.io/platforms/python/flask/>`__73+- `Flask-specific documentation <https://docs.sentry.io/platforms/python/guides/flask/>`__74 75 76 Error Handlers77 --------------461 unmodified linesmodified:docs/quickstart.rst+1 added-1 removed
103 unmodified lines104 105 Old Version of Flask106 ````````````````````107 108-Versions of Flask older than 0.11 use to have different ways to start the108+Versions of Flask older than 0.11 used to have different ways to start the109 application. In short, the :command:`flask` command did not exist, and110 neither did :command:`python -m flask`. In that case you have two options:111 either upgrade to newer Flask versions or have a look at :doc:`/server`112 to see the alternative method for running a server.820 unmodified linesmodified:CHANGES.rst+1 added-9 removed
42 unmodified lines43 This is intended to improve consistency and maintainability.44 :issue:`3215`45 - Include ``samesite`` and ``secure`` options when removing the46 session cookie. :pr:`3726`47+- Support passing a ``pathlib.Path`` to ``static_folder``. :pr:`3579`48 49 49-Version 1.1.x50--------------51-52-Not yet released.53-54-- Officially support passing a :class:`pathlib.Path` for55- ``static_folder`` which stopped working in 1.1.2. :pr:`3579`56-57-50 Version 1.1.251 -------------52 53 Released 2020-04-031009 unmodified lines