Commit graph

333 commits

Author SHA1 Message Date
jackwardell
79bd55cedf consolidate error handling docs
Remove apierrors.rst and errorpages.rst from patterns and integrate the
content into errorhandling.rst, along with other changes and extra
content.
2020-07-24 09:15:43 -07:00
David Lord
0c8c96122b fix typo 2020-07-08 08:26:21 -07:00
Armin Ronacher
40d6d107c5 Some small doc fixes 2020-07-08 15:53:43 +02:00
iomintz
1350049c9d [docs] streaming contents: use app.response_class
Examples should use app.response_class to encourage code that doesn't need to be changed should the response class be customized later on.
2020-06-17 22:00:35 -05:00
Jeff Widman
1d52c00957 Fix docs link for Flask-Uploads 2020-05-08 12:42:52 -07:00
David Lord
1de5873d66 remove unused ref directives
replace page refs with doc directives
2020-04-04 12:57:14 -07:00
David Lord
f5038c4c39 f-strings everywhere 2020-04-04 12:10:00 -07:00
David Lord
c0c76bd651 remove Python 2 from docs 2020-04-04 12:05:44 -07:00
David Lord
9e0fe3efb0 Merge remote-tracking branch 'origin/1.1.x' 2020-02-10 18:41:07 -08:00
yingshaoxo
089a379b97 pass static_url_path along with static_folder 2020-02-10 18:33:32 -08:00
David Lord
72fe9e541c Merge pull request #3406 from erfanio/f-string-docs
Change docs to use f-strings
2019-11-18 19:09:30 -08:00
Thiago J. Barbalho
a327136305 Fix typo 2019-11-02 20:56:35 +00:00
erfanio
96524db988 Change docs to use f-strings 2019-10-26 17:19:00 +11: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
4504c6d7b8 update patterns, snippets, extensions docs 2019-09-23 08:19:40 -07:00
Constantin
1c383fc13f fix typo: base on -> based on 2019-08-25 20:33:41 +02: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
Csirmaz Bendegúz
59ef0883f7 Fix typo in urlprocessors.rst 2019-08-01 12:58:07 -07:00
David Lord
ff0c92a1c7 Merge branch '1.0.x' 2019-06-23 16:57:52 -07:00
David Lord
363741ec69 fix docks linkcheck 2019-06-23 15:37:51 -07:00
David Lord
3ab901146c reword api error section 2019-06-12 11:02:53 -07:00
Logan Wright
bd6111273b adds api error handling documentation 2019-06-12 10:54:12 -07:00
Jon S. Stumpf
8577b347a7 add pre-commit config for flake8 2019-06-01 09:13:46 -04:00
David Lord
316caad5db Merge branch '1.0.x' 2019-05-16 12:18:36 -07:00
Martin Michlmayr
93f03eabbb Fix typos in the documentation 2019-02-24 10:40:23 +00:00
David Lord
091ada7da3 remove encoding from method override pattern 2019-01-07 13:09:36 -08:00
David Lord
39a8efe484 Merge branch '1.0-maintenance' 2019-01-06 15:46:33 -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
Stephon Harris
ee861266dc Adding conjunction where for clarification 2019-01-06 15:05:54 -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
Aly Sivji
4ceeb04a1c Add SPA pattern to docs 2019-01-06 06:19:55 -08:00
David Lord
ca27661d8a Merge branch '1.0-maintenance' 2019-01-05 15:12:17 -08:00
Andrew Crouse
b2bcf461c4 Update documentation for users to use flask-caching instead of the deprecated Werkzeug cache 2018-11-13 14:03:27 -05:00
Aditya
fa50bdd372 Use https for external links wherever possible 2018-10-27 17:58:45 +05:30
jangjunha
f112dc0aed Fix deferred callback doc 2018-10-26 00:33:12 +09:00
Grey Li
95008cf43d Add prefix for all commands in documentation (#2877)
* Add prefix for commands in docs

* Add prefix for commands in example's README
2018-09-09 17:41:56 +09:00
Gabriel Saldanha
78530d2322 🎨 Use set literal instead of set method 2018-06-27 08:58:26 -03: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
David Lord
010156c80a use theme provided by pallets-sphinx-themes 2018-04-18 12:05:31 -07:00
David Lord
84e9ff3853 clean up js example 2018-04-12 12:17:14 -07:00
David Lord
a894586ba8 add javascript ajax example 2018-04-12 11:06:02 -07:00
Grey Li
e581c44d1a Add tips for 413 connection reset issue 2018-04-09 01:30:15 -07:00
David Lord
e29bd92c52 rewrite tutorial docs and example 2018-04-09 00:53:25 -07:00
Nickatak
049432869f Fix typo in example. 2018-01-14 16:02:43 -08:00
Armin Ronacher
a1afc8f1a7 Add Support for FLASK_ENV (#2570)
This introduces environments to Flask
2018-01-06 17:07:56 +01:00
Grey Li
abbff76e46 Docs: Update CLI for factory pattern 2017-12-20 20:50:45 +08:00
Harry Moreno
2e0a3f17a8 Fix docs, how to get db connection in pattern
The docs are inaccurately suggestion a db connection would be available at `g.db`, after calling `get_db()` a connection will be available at `g._database` but even then I think instructing the user to use `get_db()` is the best way forward.
2017-12-08 15:18:02 -05:00
Bogdan Alexandru Marginean
faed2812d5 Update appfactories.rst 2017-10-19 22:32:47 +03:00