Commit graph

3285 commits

Author SHA1 Message Date
David Lord
e38dba3a4b Merge pull request #2724 from pallets/issue-2722
Use env var to disable loading dotenv
2018-04-29 14:27:05 -07:00
David Lord
eb52ca4625 rename to FLASK_SKIP_DOTENV, add docs, test 2018-04-29 14:20:17 -07:00
Hsiaoming Yang
2a568b4c9c Use FLASK_DONT_LOAD_ENV flag to disable load .env 2018-04-28 07:19:06 -07:00
David Lord
cc93fa3f5e Merge pull request #2739 from pallets/2735-abort-debug
Only trap key errors by default in debug, not all BadRequest errors
2018-04-28 07:01:42 -07:00
David Lord
271d9e697a trap key errors in debug, not all 400 errors 2018-04-28 06:51:08 -07:00
David Lord
536ba58b96 Merge pull request #2738 from pallets/2731-bp-prefix-slash
merge slashes between blueprint prefix and rule
2018-04-27 12:46:37 -07:00
David Lord
fa03e9e0e4 merge slashes between blueprint prefix and rule 2018-04-27 12:40:06 -07:00
David Lord
34e2b4ab46 Merge pull request #2727 from red-alert/master
error on file upload document
2018-04-27 11:12:50 -07:00
David Lord
efc3cc62bb Merge pull request #2737 from jesseops/master
fix #2736 - remove explicit check for list as a return value in make_response
2018-04-27 11:06:54 -07:00
Yao Long
ddeb9c370f document error on fileupload
after file uploaded, it should redirect for uploaded_file page instead
of upload page
2018-04-27 11:04:35 -07:00
Jesse Roberts
45728303c2 fix #2736 - allow lists to be passed through to response_class init 2018-04-27 10:49:56 -07:00
Vik
1b609c4dfe Update config.rst
Fix Debug Default: By default Debug is only True when ENV is 'development'
2018-04-27 10:17:43 -07:00
David Lord
7915feb297 Merge pull request #2729 from Dunstrom/2601-internal-error-when-requesting-route-with-url-part-equals-defaults
Added short note about Werkzeug redirect behaviour
2018-04-27 10:11:41 -07:00
David Lord
24b42e895b expand explantion about default redirects 2018-04-27 09:57:30 -07:00
David Lord
eb28001b22 Revert "Add python_requires metadata for PyPI"
This reverts commit a22d143f96.
2018-04-27 07:41:19 -07:00
wim glenn
a61e1322f6 Add python_requires metadata for PyPI 2018-04-27 07:39:42 -07:00
David Lord
4067b273e0 format changelog 2018-04-27 07:34:20 -07:00
ThiefMaster
3ff5440300 Fix registering partials as view functions 2018-04-27 13:44:07 +02:00
Hampus Dunström
6b352343e2 Added short note about Werkzeug redirect behaviour 2018-04-27 11:40:12 +02:00
David Lord
eeca1c6bfd fix docs index sidebar 2018-04-26 15:15:31 -07:00
David Lord
ace41d913b start 1.0.1 changelog 2018-04-26 14:14:44 -07:00
David Lord
44b13e7e39 fix docs logo 2018-04-26 13:06:15 -07:00
David Lord
4f1343cee3 Bump version number to 1.0.1.dev 2018-04-26 12:31:25 -07:00
David Lord
caafeb0e4b Bump version number to 1.0 2018-04-26 12:25:54 -07:00
David Lord
83424688bc release 1.0 2018-04-26 12:22:45 -07:00
David Lord
1a459e949c Merge branch '0.12-maintenance' 2018-04-26 12:18:06 -07:00
David Lord
3d9e84b684 Bump version number to 0.12.4.dev 2018-04-26 12:14:22 -07:00
David Lord
f606e0508d Bump version number to 0.12.3 2018-04-26 12:12:11 -07:00
David Lord
6cd1a55f17 release 0.12.3 2018-04-26 12:12:03 -07:00
David Lord
66f642fdfd Merge pull request #2720 from pallets/setup-link
Add project_urls so that PyPI will show GitHub stats.
2018-04-26 12:07:01 -07:00
David Lord
e48b5530ed ensure order of project urls 2018-04-26 11:57:21 -07:00
Hsiaoming Yang
35b90082fa Add project_urls so that PyPI will show GitHub stats. 2018-04-26 11:30:37 -07:00
David Lord
d86103c79d add donate link 2018-04-26 07:46:50 -07:00
David Lord
e02118dbc9 add donate link 2018-04-26 07:44:59 -07:00
David Lord
8ab7d3abc3 add donate link 2018-04-26 06:05:13 -07:00
David Lord
30f03a93d8 add donate link 2018-04-26 06:03:33 -07:00
Hsiaoming Yang
3b043eaf8f Merge pull request #2719 from greyli/patch-9
Fix typo in docs
2018-04-24 09:57:32 +09:00
Grey Li
da9e61f0b3 Fix typo in docs 2018-04-24 08:09:08 +08:00
David Lord
a893858f30 use name of license 2018-04-23 09:04:05 -07:00
David Lord
3f45cbc9df Merge pull request #2717 from filipefilardi/master
Add LICENSE in README
2018-04-23 09:02:23 -07:00
Filipe Filardi
908a1a2bbf Add LICENSE in README 2018-04-23 09:00:41 -07:00
Hsiaoming Yang
43bbce496c Revert "Close tag on js examples."
This reverts commit b7f6ff4f0b.
2018-04-21 15:12:06 +09:00
Hsiaoming Yang
f06c9bdadb Close tag on js examples. 2018-04-21 14:48:15 +09:00
David Lord
cbf2a4245c document cli option env vars
closes #2713
2018-04-20 13:25:04 -07:00
David Lord
0e3d0a80f8 Merge pull request #2711 from pope1ni/session-serializer-fixes
Minor session serializer fixes.
2018-04-19 06:57:11 -07:00
Nick Pope
83ab18bfbb Fix index example for TaggedJSONSerializer.register()
Made the example use a keyword, rather than a positional argument, as
the intent here is to show how to insert a tag with higher precedence.
As a positional argument, this would have been passed to ``force``
instead of ``index``.
2018-04-19 14:16:11 +01:00
Nick Pope
edf7cf40e3 Fix default index for TaggedJSONSerializer.register()
Change the default value of ``index`` to ``None`` in ``register()`` so
that it is possible to insert a new tag as the penultimate item in the
order list.
2018-04-19 14:16:11 +01:00
David Lord
7a594b2fe8 fix changelog indentation 2018-04-18 23:03:17 -07:00
David Lord
fb97d50d63 Merge pull request #2707 from rochacbruno/lazy_loader_message
Add a message `Serving Flask app (module "app.py" will be lazily loaded)` to `flask run` related to #2706
2018-04-18 13:45:35 -07:00
David Lord
f1ad52066f app.run is not lazy
use click.echo for banner messages
2018-04-18 13:39:55 -07:00