Commit graph

4674 commits

Author SHA1 Message Date
Ties Jan Hefting
9dfcb90c92
Document serialization of Decimal in JSONEncoder
The Flask JSONEncoder serializes Decimal types to strings, but this
behavior is missing from the docs. The docs are updated accordingly.
2022-07-06 11:47:50 +02:00
David Lord
e4c4fd5771
Merge pull request #4674 from pallets/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2022-07-04 15:55:54 -07:00
pre-commit-ci[bot]
e9d0000fc1
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.32.1 → v2.34.0](https://github.com/asottile/pyupgrade/compare/v2.32.1...v2.34.0)
- [github.com/asottile/reorder_python_imports: v3.1.0 → v3.3.0](https://github.com/asottile/reorder_python_imports/compare/v3.1.0...v3.3.0)
- [github.com/psf/black: 22.3.0 → 22.6.0](https://github.com/psf/black/compare/22.3.0...22.6.0)
- [github.com/pre-commit/pre-commit-hooks: v4.2.0 → v4.3.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.2.0...v4.3.0)
2022-07-04 22:37:19 +00:00
David Lord
ab6a8b0330
relax routes cli match order 2022-07-02 21:02:00 -07:00
David Lord
12d3f4fdf0
Merge pull request #4658 from pallets/docs-extension-dev
rewrite extension development docs
2022-06-28 16:38:09 -07:00
David Lord
b46bfcfa63
rewrite extension development docs 2022-06-28 16:28:33 -07:00
David Lord
0a01248b5c
Merge pull request #4654 from hankhank10/main 2022-06-28 06:27:24 -07:00
hankhank10
64ab59817d
show separate HTTP method route decorators in quickstart 2022-06-28 06:24:46 -07:00
David Lord
f6be300c42
Merge pull request #4652 from hankhank10/2.1.x 2022-06-23 06:00:33 -07:00
hankhank10
abcb6c9677
Update javascript.rst 2022-06-23 05:54:56 -07:00
David Lord
9c50b8fc1c
fix formatting 2022-06-13 06:08:45 -07:00
David Lord
a9878c018b
remove mod_wsgi-standalone 2022-06-12 16:03:51 -07:00
David Lord
b0a144d0c0
Merge pull request #4637 from pallets/docs-deploy
rewrite deployment docs
2022-06-12 14:03:55 -07:00
David Lord
2ea77c2782
rewrite deployment docs 2022-06-12 14:00:00 -07:00
David Lord
9398630a8f
Merge pull request #4636 from pallets/docs-javascript 2022-06-11 14:03:01 -07:00
David Lord
2f3c87dcb8
rewrite javascript docs 2022-06-11 13:44:46 -07:00
David Lord
ebc0d30dd1
Merge pull request #4630 from mirskiy/docs-mention-relative
Update send_from_directory docstring to mention relative root for `directory`
2022-06-09 09:24:26 -07:00
Dan Mirsky
9934528c8f Update send_from_directory docstring 2022-06-09 09:12:10 -07:00
David Lord
6f6e3289da
remove javascript fetch polyfill 2022-06-08 07:30:29 -07:00
David Lord
c7f2ab8e7a
Merge pull request #4610 from eprigorodov/feature-4602-namespace-path 2022-06-06 09:26:53 -07:00
David Lord
b06df0a792
remove outdated instance path test 2022-06-06 09:17:53 -07:00
David Lord
3ba37d2afe
fix uninstalled package tests under tox 2022-06-06 08:24:05 -07:00
Evgeny Prigorodov
88bcf78439
instance_path for namespace packages uses path closest to submodule 2022-06-06 08:16:00 -07:00
David Lord
fb89745408
Merge pull request #4579 from lecovi/docs/#4574-test-typing 2022-06-05 15:54:08 -07:00
David Lord
48766754b8
add typing tests to mypy config 2022-06-05 15:49:41 -07:00
David Lord
5e40aa22af
Merge pull request #4620 from Numerlor/remove-extra-backtick
Remove extra backtick in docs
2022-06-05 15:45:22 -07:00
David Lord
3351a8677e
add errorhandler type check tests 2022-06-05 15:44:28 -07:00
David Lord
81be290ec8
view function is actually type checked 2022-06-05 15:43:53 -07:00
Numerlor
72cae9ce2b
Remove extra backtick 2022-06-05 02:57:49 +02:00
David Lord
696d7c620d
Merge pull request #4617 from nk9/2.1.x
Fix incorrect references to `query` in testing doc
2022-06-01 16:10:31 -07:00
Nick Kocharhook
5d31ce1031
Fix incorrect references to query in testing doc
The [EnvironBuilder doc](https://werkzeug.palletsprojects.com/en/2.1.x/test/#werkzeug.test.EnvironBuilder) shows that the correct name for the keyword argument is `query_string`, not `query`. Using `query` results in an error.

I've fixed the two places this appears in the testing doc.
2022-06-01 12:16:21 -07:00
lecovi
8c6f1d96de
add example code for testing typing tools 2022-06-01 11:34:51 -07:00
David Lord
21d32ee067
update requirements 2022-06-01 11:23:09 -07:00
David Lord
83e9680649
Merge pull request #4603 from f3ndot/use-correct-response-type-for-after-request-callable
Fix type annotation for `after_request` callable type
2022-05-23 13:56:19 -07:00
David Lord
61f62e6005
access flask types through namespace alias 2022-05-23 13:21:22 -07:00
Justin Bull
8cb950671f
use bound typevar to accept Flask and Werkzeug Response classes 2022-05-23 13:21:22 -07:00
David Lord
a4f63e0390
start version 2.1.3 2022-05-23 10:54:02 -07:00
David Lord
60ac0c5092
Merge pull request #4595 from nkabrown/add-installation-tutorial-link
Add link to additional packaging info
2022-05-23 10:44:48 -07:00
Nathan Brown
c45c81938a
Add link to additional packaging info 2022-05-23 10:42:51 -07:00
David Lord
ab76703532
Merge pull request #4581 from lecovi/docs/#3871-celery-config
docs: new configuration format for celery
2022-05-23 10:19:59 -07:00
lecovi
9252be9c9e
docs: new configuration format for celery 2022-05-23 10:16:45 -07:00
David Lord
d506af1b1f
update requirements 2022-05-23 10:08:43 -07:00
David Lord
31aad113ff
Merge pull request #4606 from pallets/cli-imports
inline conditional imports for cli behaviors
2022-05-23 09:51:58 -07:00
David Lord
1232d69860
inline conditional imports for cli behaviors 2022-05-23 09:46:20 -07:00
David Lord
e322f32e94
Merge pull request #4593 from pallets/remove-mailing-list
remove references to mailing list
2022-05-10 09:35:05 -07:00
David Lord
2381044d04
remove references to mailing list 2022-05-10 09:28:43 -07:00
David Lord
b5c1a4f1f0
Merge pull request #4591 from moondial-pal/docs-omit-becomingbigrst
Docs omit becomingbigrst
2022-05-10 09:19:03 -07:00
Luis Palacios
410a324ec4
remove becomingbig.rst 2022-05-10 09:16:44 -07:00
David Lord
587a49c1bf
Merge pull request #4585 from pallets/docs-cli-cwd
remove outdated dotenv docs
2022-05-04 07:07:40 -06:00
David Lord
11195f1083
remove outdated dotenv docs
The CLI does not change the working directory when loading a dotenv file.
2022-05-04 06:03:31 -07:00