Commit graph

3335 commits

Author SHA1 Message Date
Colin Adams
4f638b9c28
Clarify prefixing of URLs for blueprint endpoints
Clarify that endpoint names are prefixed by the name of the blueprint,
but the URL is not automatically prefixed.
2019-01-06 06:58:38 -08:00
David Lord
15c079f500
Merge pull request #3063 from pallets/key-error
clear KeyError in production for Werkzeug 0.15
2019-01-05 15:07:06 -08:00
David Lord
1096e226cc
Merge pull request #3064 from pallets/docs-fix
fix docs build
2019-01-05 15:06:41 -08:00
David Lord
8b567fea23
fix docs build 2019-01-05 14:59:25 -08:00
David Lord
49efc44233
clear KeyError in production for Werkzeug 0.15 2019-01-05 12:49:59 -08:00
David Lord
877da63462
Merge pull request #2993 from data-get/update-cache-documentation
Update documentation for users to use flask-caching instead of Werkzeug cache
2018-11-13 14:09:31 -05:00
Andrew Crouse
aec0cdc016
Update documentation for users to use flask-caching instead of the deprecated Werkzeug cache 2018-11-13 14:03:27 -05:00
David Lord
f7e7f2ab11
Merge pull request #2966 from jangjunha/fix-doc-deferredcallbacks
Docs: Fix deferredcallbacks.rst
2018-10-25 08:54:52 -07:00
jangjunha
eef6c34b57 Fix deferred callback doc 2018-10-26 00:33:12 +09:00
David Lord
0038a6796f
Merge pull request #2963 from garenchan/bugfix-#2961
Fix #2961:ignore colon followed by slash when split app_import_path
2018-10-24 09:06:39 -07:00
garenchan
c38499bbf2 ignore colon with slash when split app_import_path
Flask currently supports importing app through a combination of module
path and app variable name, such as '/usr/app.py:my_app'. When the
module path contains a colon, it will conflict with this import way and
a `flask.cli.NoAppException` will be raised.

A file path on a Windows system may contain a colon followed by a slash.
So we solved this problem on Windows by ignoring the colon followed by a
slash when we split app_import_path.

Fix issue #2961.
2018-10-24 23:47:41 +08:00
Jarek Lipski
363205bdc3
fix @click.command example by adding parens
Otherwise the example fails with the following error: 
"name = name or cmd.name AttributeError: 'function' object has no attribute 'name'". 

More details: https://stackoverflow.com/a/51923415/4619705
2018-09-19 10:02:51 -07:00
Adrian
1a9caedb49
Merge pull request #2765 from ThiefMaster/custom-cli-ignore-debug
Add option to not overwrite debug flag in cli
2018-06-14 13:31:00 +02:00
ThiefMaster
50227f0954 Add option to not overwrite debug flag in cli
This is mainly intended for custom CLIs that may load a config file
which already sets the debug flag and does not make use of the `FLASK_*`
env vars at all.
2018-06-14 13:25:05 +02:00
David Lord
b34c7174e7
update test envs
use pypy3
fix travis osx env
cache pip on appveyor
codecov on appveyor
2018-05-29 11:46:04 -07:00
David Lord
99c56eaafa
Merge pull request #2804 from pallets/ascii-header
encode filenames as ascii instead of latin-1
2018-05-28 06:57:15 -07:00
David Lord
b51ab3ff2c
encode filenames as ascii instead of latin-1
latin-1 is allowed by pep3333, but that breaks gunicorn
2018-05-28 06:36:47 -07:00
David Lord
401d7f9bb2
Merge pull request #2789 from briehanlombaard/fix-sslcontext-attribute-error
AttributeError: 'module' object has no attribute 'SSLContext'
2018-05-17 09:24:21 -04:00
Briehan Lombaard
a913b4dafd
SSLContext was added in Python 2.7.9 2018-05-17 06:18:42 -07:00
David Lord
a35a97e49d
Merge branch '0.12-maintenance' into 1.0-maintenance 2018-05-08 20:31:10 -07:00
Daniel Opitz
1c2a2cd001
Fixed LaTeX errors on documentation PDF generation 2018-05-08 20:30:36 -07:00
David Lord
72011908b5
Merge pull request #2764 from mgalgs/patch-1
docs: installation: Fix "now you can continue" link
2018-05-08 20:11:47 -07:00
David Lord
335dcf8ec4
clarify the section navigation in installation 2018-05-08 20:10:27 -07:00
Mitchel Humpherys
725f391399
docs: installation: Add link to Quickstart after install
Once Flask is installed many users will want to proceed to the next section
in the docs (Quickstart).  Add a link to the end of the Install section for
this.
2018-05-08 19:59:25 -07:00
David Lord
939c77a39a
Bump version number to 1.0.3.dev 2018-05-02 07:16:58 -07:00
David Lord
dfd3619d6f
Bump version number to 1.0.2 2018-05-02 07:16:14 -07:00
David Lord
4dc3ba5281
release 1.0.2 2018-05-02 07:16:10 -07:00
David Lord
ad09134c8e
Merge pull request #2752 from greyli/patch-9
Check whether there are registered routes
2018-05-02 06:16:11 -07:00
Grey Li
b4e092600d
Check whether exist registered routes 2018-05-02 06:06:15 -07:00
David Lord
a6a6810d56
Merge pull request #2748 from pallets/fix-bp-route
Fix blueprint route for ""
2018-05-02 06:04:31 -07:00
David Lord
b21b4d1608
add more merge cases 2018-05-01 13:29:48 -07:00
Hsiaoming Yang
f7a3bdc6db
Fix blueprint route for "" 2018-05-01 14:35:55 +09:00
David Lord
3fd7abec3c
fix project urls 2018-04-30 19:05:46 -07:00
Aaron Hall, MBA
5a75da5471
add missing port to localhost URL 2018-04-30 19:03:05 -07:00
David Lord
9b6845f436
Merge branch '0.12-maintenance' into 1.0-maintenance 2018-04-29 19:36:30 -07:00
David Lord
639a2a1ea4
fix changelog link 2018-04-29 19:36:07 -07:00
David Lord
4f155fb647
start 1.0.2 changelog 2018-04-29 19:10:48 -07:00
David Lord
c9ab9ef5db
Bump version number to 1.0.2.dev 2018-04-29 19:09:23 -07:00
David Lord
a15795c99e
Bump version number to 1.0.1 2018-04-29 19:08:16 -07:00
David Lord
7567cc0d92
release 1.0.1 2018-04-29 18:46:54 -07:00
David Lord
6e1e3e03ca
check FLASK_SKIP_DOTENV in app.run 2018-04-29 18:45:50 -07:00
David Lord
81bde0db4b
Merge branch '0.12-maintenance' into 1.0-maintenance 2018-04-29 18:28:51 -07:00
David Lord
e8fd06a0a7
Bump version number to 0.12.5.dev 2018-04-29 18:24:00 -07:00
David Lord
5beb3be536
Bump version number to 0.12.4 2018-04-29 18:23:30 -07:00
David Lord
b147d42a27
release 0.12.4 2018-04-29 18:22:05 -07:00
David Lord
73bf519dad
Merge pull request #2746 from pallets/2742-empty-url-prefix
allow empty prefix and no lead slash in bp route
2018-04-29 15:46:58 -07:00
David Lord
f13870731c
allow empty prefix and no lead slash in bp route 2018-04-29 15:32:12 -07:00
David Lord
6b2127b1e0
Merge pull request #2745 from dmarasquin/patch-1
Update quickstart.rst
2018-04-29 14:57:24 -07:00
Daiana Marasquin
104808b480
fix syntax error and typo in quickstart.rst 2018-04-29 14:51:13 -07:00
David Lord
6f84cf4e4b
Merge pull request #2724 from pallets/issue-2722
Use env var to disable loading dotenv
2018-04-29 14:27:05 -07:00