Commit Graph

1426 Commits

Author SHA1 Message Date
Sergei 7d7e8eef23
API docs - changed flask.request description
- the link should point to the flask's Request
 - longer description is unnecessary, as it's all explained above in flask.Request
2020-07-02 23:54:40 +03:00
Leonardo Giordani 2254adf845 Simplified version of file-based database 2020-06-23 15:14:03 +01:00
Leonardo Giordani 26ec470afb Fixed trailing whitespace 2020-06-23 15:06:37 +01:00
Leonardo Giordani efbd721f20 Changed example DATABASE_URI values 2020-06-23 14:56:51 +01:00
Leonardo Giordani aec07a1cb5 Removed misleading DEBUG variable from examples 2020-06-21 09:29:45 +01:00
iomintz 92f648b04e
[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
David Lord eec29a8fc3
Merge pull request #3603 from jeffwidman/patch-1
Fix docs link for Flask-Uploads
2020-06-07 17:03:35 -07:00
David Lord 6eeb912a63
Merge remote-tracking branch 'origin/1.1.x' 2020-06-07 16:50:17 -07:00
David Lord 51686f5ab4
expand section on copy/paste security 2020-06-07 16:45:31 -07:00
Kai Chen 0b6a05f541
add section on copy/paste security 2020-06-05 08:51:21 -07:00
David Lord eea31f29a5
use pip-compile to pin dev requirements 2020-05-23 14:03:11 -07:00
Jeff Widman c432d8b2bc
Fix docs link for Flask-Uploads 2020-05-08 12:42:52 -07:00
David Lord ff2f71379b
use ast to parse FLASK_APP
enables keyword arguments to factory functions
2020-04-07 17:54:51 -07:00
David Lord fcac7f11cf
deprecate passing script_info to factory 2020-04-07 15:54:36 -07:00
David Lord 7e3b8abf99
update docs requirements
remove duplicate docs
2020-04-07 14:39:18 -07:00
David Lord 756902cca1
update json docs 2020-04-07 13:37:14 -07:00
David Lord c43edfc7c0
remove simplejson
- remove encoding detection backport, json.loads supports it directly
- use str.translate instead of multiple str.replace
2020-04-07 09:55:39 -07:00
David Lord 171aabc87d
remove unused ref directives
replace page refs with doc directives
2020-04-04 12:57:14 -07:00
David Lord 2ae740dd49
f-strings everywhere 2020-04-04 12:10:00 -07:00
David Lord 524fd0bc8c
apply pyupgrade 2020-04-04 12:10:00 -07:00
David Lord 7673835b3d
remove Python 2 from docs 2020-04-04 12:05:44 -07:00
David Lord 96b4dcafc3
Merge branch '1.1.x' 2020-04-03 10:25:51 -07:00
David Lord 3d61fc4428
Merge pull request #3529 from pgkrit/master
Move HTML escaping example back to Variable Rules.
2020-04-02 12:55:49 -07:00
David Lord 57f9623b08
move html escaping to dedicated section 2020-04-02 12:49:00 -07:00
David Lord c6a619af83
update CLI docs IDE integration 2020-04-02 12:09:04 -07:00
David Lord 037ae3f024
Merge remote-tracking branch 'origin/1.1.x' 2020-04-02 11:56:30 -07:00
David Lord ac9589ca72
Merge pull request #3530 from valleygtc/docs-fix
docs: testing.rst function def missing colon
2020-04-02 11:55:01 -07:00
mattc41190 1736e01ea0
Grammar and clarity fix 2020-03-25 09:20:55 -05:00
mattc41190 8fc723c7c2
itty bitty typo 2020-03-24 09:54:32 -05:00
Tobias Sette d115d843e6
docs: update "Deploying on Google App Engine"
Use the documentation for Python 3 instead of Python 2, which is deprecated.
2020-03-16 19:18:53 -03:00
gutianci ceed993d63 docs: testing.rst function def missing colon 2020-03-05 18:31:21 +08:00
Peter G Kritikos 56e75eace5 Move HTML escaping example back to Variable Rules.
Demonstration of markupsafe's escape function was in the Minimal
Application example, but the minimal example does not accept user
input.
2020-03-04 18:50:36 -05:00
ongopongo 1d45539000
Fix property name in description
Previously, the description referred to a property named `original_error`.
However, both the code sample that followed it _and_ the Werkzeug
documentation refer to it as `original_exception` instead.

In this commit, I change the description to use the same property name
as is used in the code sample and the Werkzeug documentation.

Here's a link to the Werkzeug documentation of that property:
- https://werkzeug.palletsprojects.com/en/1.0.x/exceptions/#werkzeug.exceptions.InternalServerError.original_exception
2020-02-28 12:09:51 -08:00
kylepollina 37f582dbb1
Fix typo in docs (#3517) 2020-02-27 23:22:03 +01:00
David Lord 909b9751ee
Merge remote-tracking branch 'origin/1.1.x' 2020-02-10 18:41:07 -08:00
yingshaoxo 7e068145df
pass static_url_path along with static_folder 2020-02-10 18:33:32 -08:00
David Lord 07556da918
Merge remote-tracking branch 'origin/1.1.x' 2020-02-10 18:29:43 -08:00
David Lord c12d9f8b49
Merge pull request #3480 from candleindark/patch-2
Incorrect grammar
2020-02-10 18:13:24 -08:00
Grey Li 571e92b317
add import for escape in quickstart
import escape from markupsafe instead of flask
2020-02-10 17:53:11 -08:00
Isaac To b80eaf2c99
Incorrect grammar
The original sentence has incorrect grammar
2020-02-10 17:47:42 -08:00
Gregory Pakosz aa1d4cb840
remove approved extensions in foreword 2020-02-10 17:00:53 -08:00
David Lord 2c66746a37
Merge branch '1.1.x' 2020-02-09 15:21:13 -08:00
Isaac To bb66b61d1d
A better expression for the intended meaning 2020-02-06 12:04:49 -08:00
Isaac To ce08807a8b
This is a typo. 2020-02-06 10:52:59 -08:00
Grey Li a3415fc6dc
Use https for pallets URL 2019-11-19 09:32:35 -08:00
Grey Li ef434ea998
Replace old pocoo links everywhere
pocco.org -> palletsprojects.com
2019-11-19 09:32:35 -08:00
David Lord 2659f0a5e6
Merge pull request #3406 from erfanio/f-string-docs
Change docs to use f-strings
2019-11-18 19:09:30 -08:00
David Lord a671e47921
rewrite the development server docs 2019-11-18 18:02:12 -08:00
David Lord a83d6d2528
Merge remote-tracking branch 'origin/1.1.x' 2019-11-18 17:54:20 -08:00
Thiago J. Barbalho 4f6b310513
Fix typo 2019-11-02 20:56:35 +00:00