Grey Li
13ee3c63cf
Fix view decorators docs
2021-05-21 12:11:03 +00:00
Grey Li
9a54c7d66e
Add venv and .venv to .gitignore
2021-05-21 16:58:58 +08:00
Alex Hedges
7fb6d79770
Update CHANGES.rst
2021-05-21 08:09:05 +00:00
Alex Hedges
f6f1665acb
Improve decorator factory type signatures
...
These changes are required to preserve the type signatures of the
created decorators.
2021-05-21 08:09:05 +00:00
Alex Hedges
709f701719
Use TypeVar for setupmethod()
...
TypeVar is needed to preserve function signatures. The type cast for
update_wrapper is needed because wapper_func can not use the full
signature that f does.
2021-05-21 08:09:05 +00:00
Alex Hedges
9841b21f4b
Make add_url_rule() signature consistent
...
This caused a mypy error when I was making another typing improvement,
so I am fixing it before committing my other changes.
2021-05-21 08:09:05 +00:00
Oleksis Fraga Menéndez
c623015348
Add update pip and setuptools section ( #4061 )
...
* Add update pip and setuptools section
* Simplify the command to upgrade pip
Co-authored-by: Grey Li <withlihui@gmail.com>
2021-05-21 12:33:09 +08:00
David Lord
10e22202dd
Merge branch '2.0.x'
2021-05-20 21:05:59 -07:00
David Lord
ffe6216568
Merge pull request #4084 from pallets/update-theme
...
Update theme
2021-05-20 21:05:36 -07:00
David Lord
29c8be4604
update pallets and sphinx requirements
2021-05-20 21:03:33 -07:00
David Lord
5ff1f02e94
update pallets-sphinx-themes
2021-05-20 21:03:02 -07:00
David Lord
68417793eb
Merge pull request #4081 from pallets/config-json
...
re-add deprecated `Config.from_json` method
2021-05-20 13:52:09 -07:00
David Lord
58e5ba2980
re-add deprecated Config.from_json method
2021-05-20 13:50:13 -07:00
David Lord
3282b39c3c
Merge pull request #4072 from pallets/typeshed
...
use _typeshed.wsgi instead of wsgiref.types
2021-05-17 16:06:10 -07:00
David Lord
3489d44b80
use _typeshed.wsgi instead of wsgiref.types
2021-05-17 16:03:12 -07:00
David Lord
a774d25f78
Merge pull request #4066 from dannysepler/pathlib-in-test
...
Add pathlib in cli tests
2021-05-17 08:51:30 -07:00
Danny Sepler
92c4d72931
Add pathlib in cli tests
2021-05-17 08:46:36 -07:00
David Lord
2c2b064184
Merge pull request #4063 from pgjones/bp-fix
...
Bp fix
2021-05-17 07:56:20 -07:00
pgjones
f8157eca6f
Fix nested blueprint url_prefix
...
This fixes the case where the blueprint is registered with a
url_prefix but any child blueprints have no prefixes.
2021-05-17 15:47:25 +01:00
David Lord
494ce0d780
Merge pull request #4057 from rafaVls/unused-escape-import
...
Unused escape import
2021-05-14 13:54:21 -07:00
Rafael Aviles
da7ddcaf80
Use escape function in return statement for username and subpath.
2021-05-14 13:23:34 -07:00
David Lord
ed1b3c77bb
Merge pull request #4056 from pallets/converter-session
...
converters have access to session
2021-05-14 08:23:44 -07:00
David Lord
5eb80d163b
Merge pull request #4055 from pallets/converter-session
...
converters have access to session
2021-05-14 08:17:37 -07:00
David Lord
bd3a8b71f8
converters have access to session
2021-05-14 08:11:09 -07:00
David Lord
7a1d921926
Merge branch '2.0.x'
2021-05-13 18:47:43 -07:00
David Lord
919966dd0e
Merge branch '1.1.x' into 2.0.x
2021-05-13 18:47:06 -07:00
David Lord
50b19f54a1
Merge pull request #4051 from pallets/release-1.1.4
...
release version 1.1.4
2021-05-13 18:44:46 -07:00
David Lord
582339292a
release version 1.1.4
2021-05-13 18:22:56 -07:00
David Lord
ed127445a8
Merge pull request #4049 from brettlangdon/fix.os.fspath
...
Use compat fspath instead of os.fspath in static_folder
2021-05-13 18:19:46 -07:00
brettlangdon
289dad68e8
Use compat fspath instead of os.fspath
...
When 7ba35c4 was cherry-picked it introduced the
usage of os.fspath which is not supported on
Python <3.6
2021-05-13 18:17:00 -07:00
David Lord
d28759b3d0
Merge branch '2.0.x'
2021-05-13 16:36:10 -07:00
David Lord
5ae521f365
Merge branch '1.1.x' into 2.0.x
2021-05-13 16:34:58 -07:00
David Lord
5a491d9e1a
Merge pull request #4048 from pallets/release-1.1.3
...
Release 1.1.3
2021-05-13 16:24:21 -07:00
David Lord
5d18fbb512
release version 1.1.3
2021-05-13 16:22:57 -07:00
David Lord
715e825932
Merge pull request #4047 from pallets/maximum-versions
...
set maximum versions for 1.1.x to avoid new major versions
2021-05-13 16:20:28 -07:00
David Lord
7df523231c
set maximum versions of pallets dependencies
2021-05-13 16:16:45 -07:00
David Lord
51ad5ed9b9
Merge remote-tracking branch 'origin/2.0.x'
2021-05-13 16:01:23 -07:00
David Lord
2948e82b10
Merge pull request #4036 from greyli/fix-nesting-bp
...
Fix url_prefix argument for nesting blueprint
2021-05-13 15:27:41 -07:00
Grey Li
ad15cd639e
fix url_prefix argument when nesting blueprints
2021-05-13 15:02:13 -07:00
David Lord
70c98bbf88
Merge pull request #4045 from pallets/blueprint-name-dot
...
blueprint name may not contain a dot
2021-05-13 14:34:28 -07:00
David Lord
2e3276e3dd
blueprint name may not contain a dot
2021-05-13 14:31:50 -07:00
David Lord
c7dd1447c8
Merge pull request #4026 from greyli/improve-type-hints
...
Improve type hints for send_file and send_from_directory
2021-05-13 13:35:12 -07:00
Grey Li
702529eb9c
improve type hints for send_file and send_from_directory
2021-05-13 13:33:07 -07:00
David Lord
00ee86c408
Merge pull request #4042 from pallets/update-typing
...
Update typing
2021-05-13 13:09:49 -07:00
David Lord
78519d52e4
fix typing that wasn't available in Python 3.6.0
2021-05-13 13:06:32 -07:00
David Lord
7c738c6fcb
inform mypy that g has arbitrary attributes
2021-05-13 13:06:32 -07:00
David Lord
3bf2a22245
fix annotation for g object
2021-05-13 11:36:05 -07:00
David Lord
4edf300c40
mark top-level names as exported
2021-05-13 11:36:05 -07:00
Grey Li
3de2131606
Merge pull request #4034 from oleksis/2.0.x
...
Fix Fork link
2021-05-13 16:00:48 +08:00
oleksis
21d4a964c5
Fix Fork link
2021-05-13 03:54:41 -04:00