Commit graph

3891 commits

Author SHA1 Message Date
David Lord
cdf0b5bc79
add readthedocs config 2020-05-18 14:59:31 -07:00
David Lord
d091bb00c0
Merge pull request #3574 from jackwardell/adding-error-message-to-assert
Adding error message to an assert
2020-04-16 10:52:06 -07:00
jackwardell
846ee2c62e
add assert message for errorhandler exception type 2020-04-16 10:49:42 -07:00
David Lord
2062d984ab
Merge pull request #3564 from pallets/cli-ast-parse
use ast to parse FLASK_APP
2020-04-07 18:01:55 -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
0d04b40d13
Merge pull request #3563 from pallets/deprecate-script-info-arg
deprecate passing script_info to factory
2020-04-07 15:57:45 -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
e69b49bd3d
Merge pull request #3562 from pallets/remove-simplejson
Remove simplejson and deprecate encoding options
2020-04-07 13:40:39 -07:00
David Lord
756902cca1
update json docs 2020-04-07 13:37:14 -07:00
David Lord
8b5f760b72
deprecate JSON encoding options
make consistent with built-in json module
2020-04-07 12:32:27 -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
024f0d384c
move package metadata to setup.cfg 2020-04-04 14:50:21 -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
f2f027d1fb
remove unused module docstrings 2020-04-04 12:28:08 -07:00
David Lord
cd8a374504
Merge pull request #3554 from pallets/drop-python2
Drop Python 2
2020-04-04 12:13:35 -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
57d628ca74
remove more compat code 2020-04-04 12:10:00 -07:00
David Lord
662c245795
remove _compat module 2020-04-04 12:10:00 -07:00
David Lord
1263d3bd14
remove deprecated code 2020-04-04 12:10:00 -07:00
David Lord
a0a61acdec
drop support for Python 2.7 and 3.5 2020-04-04 12:09:55 -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
93dd1709d0
release version 1.1.2 2020-04-03 10:10:38 -07:00
David Lord
4024a4a89c
update deprecation versions 2020-04-03 10:02:40 -07:00
David Lord
f991a89810
Merge pull request #3541 from jeenuv/clarify-static
Clarify that static_folder must be a relative path
2020-04-03 07:33:20 -07:00
Jeenu Viswambharan
4548e00dba
clarify static_folder is relative to root_path 2020-04-03 07:28:44 -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
David Lord
aad99260d9
Merge pull request #3537 from shanavas786/master
Update deprecated for config.from_json
2020-04-02 11:54:25 -07:00
Joshua Bronson
bcf0a95216
Merge pull request #3544 from mattc41190/patch-2
Grammar and clarity fix
2020-03-25 10:39:45 -04:00
mattc41190
1736e01ea0
Grammar and clarity fix 2020-03-25 09:20:55 -05:00
Joshua Bronson
80a597b7f9
Merge pull request #3543 from mattc41190/patch-1
itty bitty typo
2020-03-24 11:17:25 -04:00
mattc41190
8fc723c7c2
itty bitty typo 2020-03-24 09:54:32 -05:00
Shanavas M
e047dd6a32
Update deprecated for config.from_json 2020-03-18 12:37:51 +05:30
David Lord
c47c8c4389
Merge pull request #3536 from gnumoksha/patch-2
docs: update "Deploying on Google App Engine"
2020-03-16 15:26:49 -07: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
David Lord
29d33203d0
Merge pull request #3524 from jeffwidman/patch-2
Remove deprecated `license_file` option
2020-03-11 07:40:06 -07:00
David Lord
bac908ef35
Merge pull request #3513 from kevinanew/master
Make code more easy to read
2020-03-11 07:31:20 -07:00
kevinanew
d5f88dafaf
refactor variable choices into if blocks 2020-03-11 07:24:38 -07: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
Jeff Widman
9311a823a7
Remove deprecated license_file option
Starting with wheel 0.32.0 (2018-09-29), the `license_file` option is
deprecated in favor of `license_files`.

https://wheel.readthedocs.io/en/stable/news.html

The wheel will continue to include `LICENSE`, it is now included
automatically:

https://wheel.readthedocs.io/en/stable/user_guide.html#including-license-files-in-the-generated-wheel-file

See https://github.com/FactoryBoy/factory_boy/pull/696 for inspiration and more discussion.
2020-03-02 10:21:15 -08:00
David Lord
fd3fca2aa0
Merge pull request #3521 from ongopongo/patch-1
Fix property name in description
2020-02-28 12:18:04 -08: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