Commit graph

3783 commits

Author SHA1 Message Date
David Lord
c71de17d1d rewrite the development server docs 2019-11-18 18:02:12 -08:00
David Lord
578592c01e lazy load app on reload only 2019-11-18 17:54:46 -08:00
David Lord
3996b7842e Merge remote-tracking branch 'origin/1.1.x' 2019-11-18 17:54:20 -08:00
Joshua Bronson
9b0ba59a37 Merge pull request #3414 from thiagojobson/master
Fix typo in documentation
2019-11-02 18:40:20 -04:00
Thiago J. Barbalho
a327136305 Fix typo 2019-11-02 20:56:35 +00:00
David Lord
ea7235ca35 Merge pull request #3410 from haneybarg/bad_request
[BUG FIX] Test test_send_from_directory_bad_request fails in Python 3.8.
2019-10-28 18:26:16 -07:00
Fernanda Guimarães
7806be9784 Test test_send_from_directory_bad_request no longer fails in Python 3.8. 2019-10-28 21:37:25 -03:00
David Lord
e750348459 Merge pull request #3408 from lamby/943674-flask-please-make-the-build-reproducible
Make the documentation build reproducibly
2019-10-28 07:59:00 -07:00
Chris Lamb
d3a16a9895 Make the documentation build reproducibly
Whilst working on the Reproducible Builds effort [0] we noticed that
flask could not be built reproducibly.

This is because it includes an absolute build directory in the
documentation as the "json_module" attribute points to a Python class/
module which has a string representation including its path.

This commit skips this (inherited) member from the documentation.

(This was originally filed in Debian as #943674 [1].)

 [0] https://reproducible-builds.org/
 [1] https://bugs.debian.org/943674
2019-10-28 09:16:53 +00:00
David Lord
10e920329f Merge pull request #3398 from pgjones/toml
Support loading configuration from text files
2019-10-18 09:28:37 -07:00
David Lord
a620f1c9c8 clean up config.from_file docs 2019-10-18 09:24:58 -07:00
pgjones
35627192e7 Support loading configuration from text files
TOML is a very popular format now, and is taking hold in the Python
ecosystem via pyproject.toml (among others). This allows toml config
files via,

    app.config.from_file("config.toml", toml.loads)

it also allows for any other file format whereby there is a loader
that takes a string and returns a mapping.
2019-10-18 09:15:47 -07:00
David Lord
25b933746b Merge pull request #3395 from decaz/patch-1
Update reqcontext.rst
2019-10-14 14:00:01 -07:00
Marat Sharafutdinov
355e0f73b1 Update reqcontext.rst 2019-10-14 23:48:48 +03:00
David Lord
1839731422 Merge pull request #3369 from doronhorwitz/get-cookie-name
get_cookie_name in SessionInterface for easier overriding in SecureCookieSessionInterface
2019-10-12 19:20:31 -07:00
Doron Horwitz
940fa38c28 get_cookie_name in SessionInterface for easier overriding in SecureCookieSessionInterface 2019-10-12 19:12:27 -07:00
David Lord
b0af51baf4 Merge pull request #3391 from pallets/explain-escape
explain escape at top of quickstart
2019-10-12 19:03:34 -07:00
David Lord
e3be566d76 explain escape at top of quickstart
* introduce escape, and explain why it's omitted in examples
* clean up imports in examples
2019-10-12 18:53:47 -07:00
David Lord
cdc0db7b34 Merge pull request #3381 from seeksort/request-context-typo
fix typo in request context docs
2019-10-08 09:11:18 -07:00
Kristin Faner
f07c5084ec fix typo in request context docs 2019-10-08 09:06:01 -07:00
Mellcap Zhao
302ffbadf5 Fix link to header in CONTRIBUTING (#3382) 2019-10-06 13:26:00 -07:00
David Lord
a8da6b5fed Merge branch '1.1.x' 2019-09-24 06:44:36 -07:00
David Lord
ea659d77e5 Merge branch '1.0.x' into 1.1.x 2019-09-24 06:44:18 -07:00
David Lord
6ee61a8b57 Merge branch '0.12.x' into 1.0.x 2019-09-24 06:43:25 -07:00
David Lord
ab803a2c3f Merge pull request #3376 from pallets/migrate-docs
update docs for new theme
2019-09-24 06:41:48 -07:00
David Lord
aef114e372 update docs for new theme 2019-09-24 06:35:10 -07:00
David Lord
c5fa5f87ca Merge pull request #3344 from hharutyunyan/fix-the-contibution-docs
Fix the contibution docs
2019-09-23 12:24:08 -07:00
David Lord
10c756b4c6 Merge pull request #3346 from bearnun/master
Update logging.rst
2019-09-23 12:22:05 -07:00
bearnun
fc326d3599 mention default logging level 2019-09-23 12:17:46 -07:00
David Lord
f4a1ea7563 Merge branch '1.1.x' 2019-09-23 12:11:18 -07:00
David Lord
286b84c370 Merge branch '1.0.x' into 1.1.x 2019-09-23 12:10:55 -07:00
David Lord
b57eaa0c6a Merge pull request #3375 from pallets/ext-py-version
reword extension python version item
2019-09-23 12:10:30 -07:00
David Lord
7c206114fa reword extension python version item 2019-09-23 11:59:59 -07:00
David Lord
d3581e97c4 Merge branch '1.1.x' 2019-09-23 08:38:29 -07:00
David Lord
d5a739fae5 Merge branch '1.0.x' into 1.1.x 2019-09-23 08:38:11 -07:00
David Lord
70aee183af Merge pull request #3374 from pallets/ext-docs
Remove old things from docs
2019-09-23 08:33:50 -07:00
David Lord
4504c6d7b8 update patterns, snippets, extensions docs 2019-09-23 08:19:40 -07:00
David Lord
4a8eb8a76a Merge pull request #3349 from nathanmp/master
Update testing.rst
2019-09-02 09:05:05 -07:00
Nathan McKinley-Pace
992e20b021 Update testing.rst
It now describes how to install flaskr using pip so that all tests pass.
2019-09-02 11:31:34 -04:00
hharutyunyan
6ed048887b Updating contribution docs. Added the link with a guide to install pre-commit and made the pre-commit installation command a code block. 2019-08-29 02:44:00 +04:00
Joshua Bronson
f60e9129cd Merge pull request #3343 from gruentee/patch-1
fix typo: base on -> based on
2019-08-25 15:36:19 -04:00
Constantin
1c383fc13f fix typo: base on -> based on 2019-08-25 20:33:41 +02:00
David Lord
6c56e8f75f Merge pull request #3332 from Eido95/patch-1
docs: Change max content length value to megabyte
2019-08-24 09:09:32 -07:00
Joshua Bronson
2a4206f635 Merge pull request #3336 from arnavb/patch-1
Fix typo in pop documentation
2019-08-15 21:30:05 -04:00
Arnav Borborah
6cd9004399 Fix typo in pop documentation 2019-08-15 21:05:33 -04:00
Eido95
0f96fec7bc docs: Change max content length value to megabyte
16 * 1024 * 1024 = 16 MiB (Mebibyte)
16 * 1000 * 1000 = 16 MB (Megabyte)

The example is in megabytes, not in mebibytes.
2019-08-13 11:02:56 +03:00
Chris Zimmerman
ce59a6f8dd fixed typo in logging docstring (#3328)
* fixed typo in logging docstring

* second typo fix
2019-08-09 14:47:17 -04:00
David Lord
287335af8b Merge branch '1.1.x' 2019-08-01 13:35:52 -07:00
David Lord
4f3db0862a fix stylecheck 2019-08-01 13:35:38 -07:00
David Lord
3a2f87d723 Merge branch '1.1.x' 2019-08-01 13:08:34 -07:00