David Lord
0038a6796f
Merge pull request #2963 from garenchan/bugfix-#2961
...
Fix #2961:ignore colon followed by slash when split app_import_path
6 years ago
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 .
6 years ago
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
6 years ago
Adrian
1a9caedb49
Merge pull request #2765 from ThiefMaster/custom-cli-ignore-debug
...
Add option to not overwrite debug flag in cli
7 years ago
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.
7 years ago
David Lord
b34c7174e7
update test envs
...
use pypy3
fix travis osx env
cache pip on appveyor
codecov on appveyor
7 years ago
David Lord
99c56eaafa
Merge pull request #2804 from pallets/ascii-header
...
encode filenames as ascii instead of latin-1
7 years ago
David Lord
b51ab3ff2c
encode filenames as ascii instead of latin-1
...
latin-1 is allowed by pep3333, but that breaks gunicorn
7 years ago
David Lord
401d7f9bb2
Merge pull request #2789 from briehanlombaard/fix-sslcontext-attribute-error
...
AttributeError: 'module' object has no attribute 'SSLContext'
7 years ago
Briehan Lombaard
a913b4dafd
SSLContext was added in Python 2.7.9
7 years ago
David Lord
a35a97e49d
Merge branch '0.12-maintenance' into 1.0-maintenance
7 years ago
Daniel Opitz
1c2a2cd001
Fixed LaTeX errors on documentation PDF generation
7 years ago
David Lord
72011908b5
Merge pull request #2764 from mgalgs/patch-1
...
docs: installation: Fix "now you can continue" link
7 years ago
David Lord
335dcf8ec4
clarify the section navigation in installation
7 years ago
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.
7 years ago
David Lord
939c77a39a
Bump version number to 1.0.3.dev
7 years ago
David Lord
dfd3619d6f
Bump version number to 1.0.2
7 years ago
David Lord
4dc3ba5281
release 1.0.2
7 years ago
David Lord
ad09134c8e
Merge pull request #2752 from greyli/patch-9
...
Check whether there are registered routes
7 years ago
Grey Li
b4e092600d
Check whether exist registered routes
7 years ago
David Lord
a6a6810d56
Merge pull request #2748 from pallets/fix-bp-route
...
Fix blueprint route for ""
7 years ago
David Lord
b21b4d1608
add more merge cases
7 years ago
Hsiaoming Yang
f7a3bdc6db
Fix blueprint route for ""
7 years ago
David Lord
3fd7abec3c
fix project urls
7 years ago
Aaron Hall, MBA
5a75da5471
add missing port to localhost URL
7 years ago
David Lord
9b6845f436
Merge branch '0.12-maintenance' into 1.0-maintenance
7 years ago
David Lord
639a2a1ea4
fix changelog link
7 years ago
David Lord
4f155fb647
start 1.0.2 changelog
7 years ago
David Lord
c9ab9ef5db
Bump version number to 1.0.2.dev
7 years ago
David Lord
a15795c99e
Bump version number to 1.0.1
7 years ago
David Lord
7567cc0d92
release 1.0.1
7 years ago
David Lord
6e1e3e03ca
check FLASK_SKIP_DOTENV in app.run
7 years ago
David Lord
81bde0db4b
Merge branch '0.12-maintenance' into 1.0-maintenance
7 years ago
David Lord
e8fd06a0a7
Bump version number to 0.12.5.dev
7 years ago
David Lord
5beb3be536
Bump version number to 0.12.4
7 years ago
David Lord
b147d42a27
release 0.12.4
7 years ago
David Lord
73bf519dad
Merge pull request #2746 from pallets/2742-empty-url-prefix
...
allow empty prefix and no lead slash in bp route
7 years ago
David Lord
f13870731c
allow empty prefix and no lead slash in bp route
7 years ago
David Lord
6b2127b1e0
Merge pull request #2745 from dmarasquin/patch-1
...
Update quickstart.rst
7 years ago
Daiana Marasquin
104808b480
fix syntax error and typo in quickstart.rst
7 years ago
David Lord
6f84cf4e4b
Merge pull request #2724 from pallets/issue-2722
...
Use env var to disable loading dotenv
7 years ago
David Lord
5965cb7e1c
rename to FLASK_SKIP_DOTENV, add docs, test
7 years ago
Hsiaoming Yang
bac5d6b9f4
Use FLASK_DONT_LOAD_ENV flag to disable load .env
7 years ago
David Lord
4c8ec8f555
Merge pull request #2739 from pallets/2735-abort-debug
...
Only trap key errors by default in debug, not all BadRequest errors
7 years ago
David Lord
b573a86977
trap key errors in debug, not all 400 errors
7 years ago
David Lord
27d56c1df5
Merge pull request #2738 from pallets/2731-bp-prefix-slash
...
merge slashes between blueprint prefix and rule
7 years ago
David Lord
4d0cdf95e6
merge slashes between blueprint prefix and rule
7 years ago
David Lord
5239458f28
Merge pull request #2727 from red-alert/master
...
error on file upload document
7 years ago
David Lord
d4fb9d564e
Merge pull request #2737 from jesseops/master
...
fix #2736 - remove explicit check for list as a return value in make_response
7 years ago
Yao Long
9b6878af5a
document error on fileupload
...
after file uploaded, it should redirect for uploaded_file page instead
of upload page
7 years ago