Emil Sadek
9830fd8a80
update pip link
2021-08-10 06:07:21 -07:00
David Lord
ef3a82a282
Merge pull request #4174 from na2shell/fix_4170
...
cli loader handles kwargs in app factory
2021-08-05 19:37:03 -07:00
na2shell
9f0da9b770
cli loader handles kwargs in app factory
2021-08-05 19:32:43 -07:00
David Lord
c3f923d0e0
Merge pull request #4169 from Rohan-Salwan/dev
...
fix raising error during cli lazy loading
2021-08-05 19:17:52 -07:00
David Lord
2305b056c3
add test for lazy loading error
2021-08-05 19:15:31 -07:00
Rohan salwan
aa6dd09c2c
correctly handle raising deferred errors in cli lazy loading
2021-08-05 19:14:51 -07:00
David Lord
66d9d4fa8d
Merge pull request #4160 from default-303/decimal_fix
...
json support for Decimal objects
2021-08-05 18:40:44 -07:00
default-303
892ae95509
jsonify encodes decimal to str
2021-08-05 18:36:13 -07:00
David Lord
06cf349bb8
Merge pull request #4152 from Yourun-proger/fix
...
`static_folder` can be a `pathlib.Path` object
2021-08-05 18:18:04 -07:00
Yourun-Proger
9a2adfba4d
static_folder can be a pathlib.Path
2021-08-05 18:16:20 -07:00
David Lord
187f6ce409
Merge pull request #4139 from awijaya22/issue4099
...
Avoid race condition in example app
2021-08-05 18:04:51 -07:00
Angeline
5119657547
safer check for existing user in tutorial
...
Co-authored-by: David Lord <davidism@gmail.com>
2021-08-05 18:01:55 -07:00
David Lord
50b7dcbab3
Merge pull request #4131 from starlightknown/docstring
...
added return type all in from_ * modules
2021-08-05 17:42:08 -07:00
Karuna Tata
e18ed45c88
document return value for config loading methods
2021-08-05 17:38:24 -07:00
David Lord
a0afb6f375
Merge pull request #4190 from yuxiaoy1/docs
...
Improve code example of api & jQuery docs
2021-08-05 16:55:51 -07:00
David Lord
5dfa67ed5a
Merge pull request #4221 from kaushikk25/patch-1
...
docs in quickstart.rst in use wrong variable name.
2021-08-05 08:55:28 -07:00
kaushik kothiya
858cc9cace
Wrong variable name use
...
File upload section upload_file function in file request parameter variable name is "file". but file save method in secure_filename function in use "f.filename".
2021-08-05 08:52:42 -07:00
David Lord
e7b16b5ef2
Merge pull request #4193 from Elahi-cs/sql-fix
...
Small SQL formatting fix
2021-07-07 10:59:04 -07:00
Elahi-cs
3127c304ec
Small SQL formatting fix
2021-07-07 19:41:11 +02:00
Frank Yu
85c35bd615
Fix link in ASGI docs ( #4191 )
...
* Fix link in ASGI docs
* Improve the wording of ASGI docs
Co-authored-by: Grey Li <withlihui@gmail.com>
2021-07-07 19:26:24 +08:00
Frank Yu
29c09a92c4
Omit the type attribute of script tag
2021-07-07 15:18:04 +08:00
Frank Yu
922e91b278
Omit the type attribute of script tag
2021-07-07 15:16:29 +08:00
Adrian Moennich
6e1b72096d
Fix typo in docs
2021-07-06 22:05:31 +02:00
Grey Li
7023145f79
Merge pull request #4175 from greyli/views-docs
...
Fix typo in views docs
2021-06-27 11:52:54 +08:00
Grey Li
c224832acc
Fix typo in docs/views.rst
2021-06-26 22:15:43 +08:00
David Lord
49cbb77528
Merge pull request #4165 from yuxiaoy1/patch-1
...
Change flask.xxx to plain version in testing docs
2021-06-21 10:07:33 -07:00
Frank Yu
35eb582bf3
Change flask.xxx to plain version in testing docs
2021-06-20 23:20:14 +08:00
David Lord
d426b58e57
Merge pull request #4155 from yuxiaoy1/patch-1
...
Fix bad link in templating docs
2021-06-20 06:45:54 -07:00
David Lord
5261aeb7c7
Merge pull request #4156 from yuxiaoy1/patch-4
...
Improve the code example in testing docs
2021-06-20 06:45:37 -07:00
Frank Yu
7b696e076a
Update testing.rst
2021-06-18 22:18:15 +08:00
Frank Yu
5fa7d2efe7
Update templating.rst
2021-06-18 20:15:02 +08:00
Frank Yu
f353d126d1
Update docs of rendering templates ( #4153 )
...
* Update docs of rendering templates
* Improve the grammar
Co-authored-by: Grey Li <withlihui@gmail.com>
2021-06-18 10:10:29 +08:00
Grey Li
f8ca80ce89
Merge pull request #4147 from greyli/update-contributing-guide
...
Update contributing guide
2021-06-15 08:49:29 +08:00
pgjones
a44c722860
Fix registering a blueprint twice with differing names
...
Previously the blueprint recorded aspects (before request, after
request etc) would only be added to the app if it was the first
registration of the blueprint instance. However only the record-once
aspects (app-before requests, app-after request) should be added once
on registration of the instance, whereas everything else should be
added on every unique name registration. This ensures that these
trigger under the new name as well as the old.
2021-06-14 17:18:47 +00:00
Grey Li
34027d8d87
Improve the contributing guide
2021-06-14 14:20:04 +08:00
David Lord
399b851ed7
Merge pull request #4142 from Hugo0/patch-1
...
Update celery.rst
2021-06-08 10:06:35 -07:00
Hugo Montenegro
92bed66194
Update celery.rst
...
small typo
2021-06-08 19:01:07 +02:00
pgjones
63893a427b
Improve the changelog entry
...
The fix to the teardown_request also applies to all teardown_*
methods.
2021-06-06 11:09:03 +01:00
Pascal Corpet
6a4e7e948d
improve typing for app.errorhandler decorator
2021-06-01 19:25:27 +01:00
pre-commit-ci[bot]
5205cd4ea9
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2021-06-01 18:08:19 +00:00
Miguel Grinberg
270eb2df2a
Support View and MethodView instances with async handlers
2021-06-01 18:08:19 +00:00
laggardkernel
491ea32803
Optimize loop in Flask._find_error_handler()
2021-06-01 15:50:20 +00:00
laggardkernel
0ce270d1f3
Update doc about minimal Python version for async support
2021-05-30 11:03:49 +00:00
default-303
8e589daaf2
Fix typing of jinja decorators ( #4109 )
2021-05-29 20:54:35 +02:00
Marat Sharafutdinov
a960236117
Fix type annotation for before_request and before_app_request decorators
2021-05-25 18:29:52 +00:00
Pascal Corpet
f7adb2c813
improve typing for teardown_request
2021-05-24 19:28:57 +00:00
Grey Li
d81aa70106
Merge pull request #4100 from greyli/fix-typo
...
Fix typo in docs/tutorial/index.rst
2021-05-24 16:36:56 +08:00
Grey Li
aa6fbf2f5a
Fix typo in docs/tutorial/index.rst
2021-05-24 16:33:02 +08:00
David Lord
e22021d531
start version 2.0.2.dev0
2021-05-21 08:55:31 -07:00
David Lord
bc90801c2a
Merge pull request #4091 from pallets/release-2.0.1
...
release version 2.0.1
2021-05-21 08:52:24 -07:00