Grey Li
89a3e0c915
doc: Improve description for valid view func return value
...
* improve wording.
* remove unnecessary spaces.
2019-03-06 10:34:21 +08:00
venus
3736f27760
fix the typo
2019-01-12 21:42:06 +09:00
David Lord
edd969e613
Merge pull request #3068 from pallets/method-override-encoding
...
remove encoding from method override pattern
2019-01-07 13:20:00 -08:00
David Lord
091ada7da3
remove encoding from method override pattern
2019-01-07 13:09:36 -08:00
David Lord
97e09989a9
Merge pull request #2986 from taion/do-not-handle-routing-exception
...
Do not handle RoutingExceptions with app error handlers
2019-01-07 09:58:32 -08:00
David Lord
83fb602af7
add changelog for GH-2986
2019-01-07 09:52:54 -08:00
Jimmy Jia
9d6e51476e
Do not handle RoutingExceptions with app error handlers
2019-01-07 09:01:37 -08:00
David Lord
5797f95a45
Merge pull request #2934 from garenchan/bugfix-#2933
...
Fix issue #2933 : Make sure the attachment filename is text type.
2019-01-07 07:22:59 -08:00
garenchan
0b182de99a
Make sure the attachment filename is text type.
...
If attachment filename is bytes type and contains non-ascii coded bytes,
then the following ASCII encoding process will trigger
UnicodeDecodeError exception.
Fix issue #2933 .
2019-01-07 07:17:33 -08:00
David Lord
66afdfdeed
Merge pull request #2825 from eso31/fix-2824-issue
...
Fixes issue #2824 flask --version
2019-01-06 16:30:11 -08:00
David Lord
934c6ab22e
clean up flask --version code
2019-01-06 16:24:05 -08:00
Dilan Coss
7e47e89a3f
add werkzeug to flask --version
2019-01-06 16:11:03 -08:00
David Lord
23dac4e515
Merge pull request #2964 from igortg/2907-docs-update-mongo-pattern
...
Docs: replace MongoKit by MongoEngine on docs
2019-01-06 15:43:14 -08:00
David Lord
141373fdd0
simplify mongoengine doc, redirect from mongokit
2019-01-06 15:42:08 -08:00
Igor Ghisi
1643efd81f
Replace MongoKit by MongoEngine on docs
...
Docs chapter "Patterns for Flask" has a section dedicated to MongoKit,
but MongoKit lib seems unmaintained and is not compatible with recent
versions of PyMongo.
This commit replaces MongoKit guide with a new one using MongoEngine.
Closes #2907
2019-01-06 15:12:53 -08:00
David Lord
0a0d0e1017
Merge pull request #3067 from pallets/tutorial-flask-run
...
clarify where to call flask run from in tutorial
2019-01-06 15:11:30 -08:00
David Lord
564faabda1
clarify where to call flask run from in tutorial
2019-01-06 15:10:38 -08:00
David Lord
8d77588ca1
Merge pull request #2970 from stepharr/patch-1
...
AJAX with jQuery: Adding conjunction where for clarification
2019-01-06 15:06:19 -08:00
Stephon Harris
ee861266dc
Adding conjunction where for clarification
2019-01-06 15:05:54 -08:00
David Lord
6fd6d933ce
Merge pull request #2875 from nathanbegbie/patch-1
...
Update docs on larger applications WRT tutorial
2019-01-06 15:00:00 -08:00
nathanbegbie
7b00a51acc
Update docs on larger applications wrt tutorial
...
The wording of the docs makes it sound like the tutorials use the simple structure for a flask application, which they no longer do.
This commit re-words the docs to make it clearer.
2019-01-06 14:53:03 -08:00
David Lord
abc0215491
Merge pull request #2918 from garenchan/docs2
...
Docs: fix some typos in config.rst
2019-01-06 14:51:55 -08:00
garenchan
da19d8a914
Docs: fix some typos in config.rst
2019-01-06 14:45:10 -08:00
David Lord
52615f063b
Merge pull request #2854 from dougthor42/update-docs-to-be-more-clear-about-from_config-instantiation-#2853
...
Update docs to be more clear about from config instantiation
2019-01-06 14:43:17 -08:00
Douglas Thor
fad04d2547
document that Config.from_object uses object as-is
2019-01-06 14:34:05 -08:00
David Lord
bf5b15bd94
Merge pull request #2913 from onovy/contributing-manifest
...
Install CONTRIBUTING.rst with MANIFEST.in
2019-01-06 10:51:51 -08:00
Ondřej Nový
9fb44bcd20
Install CONTRIBUTING.rst with MANIFEST.in
...
Without CONTRIBUTING.rst filoe, documentation is not buildable:
docs/contributing.rst:1: WARNING: Problems with "include" directive path:
InputError: [Errno 2] No such file or directory: 'CONTRIBUTING.rst'.
2019-01-06 10:50:08 -08:00
David Lord
513e6fb22c
Merge pull request #3066 from pallets/no-osx
...
disable slow travis osx env
2019-01-06 10:45:14 -08:00
David Lord
c9847b842a
disable slow travis osx env
2019-01-06 10:43:53 -08:00
David Lord
316afdc84b
Merge pull request #3065 from pallets/fedora
...
use "-m virtualenv" in installation doc
2019-01-06 10:34:52 -08:00
David Lord
3477b7dd55
Merge pull request #3056 from tirkarthi/fix-syntax-warning
...
Fix syntax warning in docstring
2019-01-06 10:25:47 -08:00
David Lord
7f013c7a3c
use "-m virtualenv" in installation doc
2019-01-06 10:25:16 -08:00
xtreak
09d8889995
remove syntax warning from docstring
2019-01-06 10:17:58 -08:00
David Lord
2394cdd95a
Merge pull request #3054 from tirkarthi/fix-py37-warnings
...
Fix DeprecationWarning on collections import in flask.sessions
2019-01-06 10:09:18 -08:00
xtreak
890fa6e47d
Fix DeprecationWarning on collections import
2019-01-06 10:04:00 -08:00
David Lord
42cbd754d6
Merge pull request #3051 from ExplodingCabbage/tojson-docs-fixes
...
[Docs] Improve tojson docs (additions, clarifications, & fixes)
2019-01-06 09:54:59 -08:00
Mark Amery
7e44691ee3
Clarify and add detail to tojson docs
...
Fix some confusing and obsolete prose.
2019-01-06 09:44:09 -08:00
David Lord
39850ce9bb
Merge pull request #3049 from RohanTalip/scriptinfo-typo
...
Corrected a typo in a docstring: "Help object" --> "Helper object"
2019-01-06 09:16:29 -08:00
Rohan Talip
6d5e36074c
Corrected a typo in a docstring: "Help object" --> "Helper object"
2019-01-06 09:10:28 -08:00
David Lord
f4076ad5ff
Merge pull request #3031 from jseldess/fix-typos
...
Fix typos found while completing the Flask tutorial
2019-01-06 08:11:39 -08:00
Jesse Seldess
0c011a4c15
Fix typos found while completing the Flask tutorial
2019-01-06 08:01:45 -08:00
David Lord
a63fd1a52a
Merge pull request #3044 from garenchan/ci-test
...
Add Python 3.7 to CI.
2019-01-06 08:00:23 -08:00
David Lord
550f93b7b8
use specific pypy versions for travis xenial
...
remove 3.6 from appveyor, reduce in tox
remove deprecated travis feature "sudo: false"
split docs and devel,lowest travis envs
remove osx py2 env in attempt to finish faster
move travis matrix to python key
2019-01-06 07:52:03 -08:00
garenchan
5008fd8032
Add Python 3.7 to CI.
2019-01-06 07:09:11 -08:00
David Lord
75a7e66df5
Merge pull request #3019 from colincadams/patch-2
...
Clarify prefixing of urls for blueprint endpoints
2019-01-06 07:07:59 -08:00
Colin Adams
e0916c7d0d
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
e00b032e0e
Merge pull request #3011 from greyli/improve-cli-help-text
...
Use imperative tense for CLI help text
2019-01-06 06:38:14 -08:00
Grey Li
20479fe107
Use imperative tense for CLI help text
2019-01-06 06:31:57 -08:00
David Lord
215bbf21b5
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
6b11d22427
Merge pull request #3064 from pallets/docs-fix
...
fix docs build
2019-01-05 15:06:41 -08:00