Commit graph

1579 commits

Author SHA1 Message Date
Dillon Barnes
86bf3f205f
Correct waitress-serve command 2022-08-17 17:00:25 +01:00
David Lord
2d3f72574d
fix typo 2022-08-15 12:37:11 -07:00
David Lord
d94634b1be
fix view docs 2022-08-15 07:34:50 -07:00
David Lord
1d07857b1d
fix typo 2022-08-15 07:29:34 -07:00
Oğuzhan Çelikarslan
77cdefccee Fix typo 2022-08-13 10:08:11 +08:00
tautv
22b6296830
Update javascript.rst
Spelling
2022-08-09 09:45:02 +01:00
David Lord
a0458efef6
refactor or remove old docs (#4748) 2022-08-05 11:28:22 -07:00
David Lord
bfdd37110c
deprecate config attributes 2022-08-01 16:58:55 -07:00
David Lord
30427a2090
remove FLASK_ENV from docs 2022-08-01 15:11:35 -07:00
David Lord
4c08e3a2ba
update pycharm instructions 2022-08-01 11:39:31 -07:00
David Lord
5d8e35653f
refactor lazy loading
Remove the `--eager-loading/--lazy-loading` options and the
`DispatchingApp` middleware. The `run` command handles loading
exceptions directly. The reloader always prints out tracebacks
immediately and always defers raising the error.
2022-08-01 10:34:13 -07:00
David Lord
02a0851252
Merge branch '2.1.x' 2022-07-24 19:37:30 -07:00
David Lord
2869ddf50c
update blinker intersphinx link 2022-07-24 19:35:28 -07:00
David Lord
48fe96588c
Merge branch '2.1.x' 2022-07-13 13:58:07 -07:00
David Lord
69f9845ef2
add json provider interface 2022-07-13 07:42:52 -07:00
David Lord
e0dad45481
update docs about contexts 2022-07-08 11:13:09 -07:00
Earl C. Ruby III
6751f68560
New URL for the Quart project
The Quart project moved from Gitlab (https://gitlab.com/pgjones/quart) to Github (https://github.com/pallets/quart). There is a message at the top of the Gitlab page announcing the move.
2022-07-08 10:21:42 -07:00
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
f8cb0b0dd5
update docs about json 2022-07-02 21:41:37 -07:00
David Lord
96d39c87a8
Merge remote-tracking branch 'origin/2.1.x' 2022-07-01 13:32:50 -07:00
David Lord
84c722044a
new debug/test preserve context implementation 2022-07-01 12:01:44 -07:00
David Lord
b46bfcfa63
rewrite extension development docs 2022-06-28 16:28:33 -07:00
hankhank10
64ab59817d
show separate HTTP method route decorators in quickstart 2022-06-28 06:24:46 -07:00
hankhank10
abcb6c9677
Update javascript.rst 2022-06-23 05:54:56 -07:00
pgjones
46433e9807
add generate_template and generate_template_string functions 2022-06-18 12:20:53 -07:00
David Lord
c9e000b9ce
with_appcontext lasts for the lifetime of the click context 2022-06-17 11:52:01 -07:00
David Lord
ab1fbef29a
prefer --app over FLASK_APP in docs 2022-06-17 09:26:26 -07:00
David Lord
9c50b8fc1c
fix formatting 2022-06-13 06:08:45 -07:00
David Lord
97298e06fe
Merge branch '2.1.x' 2022-06-12 16:04:01 -07:00
David Lord
a9878c018b
remove mod_wsgi-standalone 2022-06-12 16:03:51 -07:00
David Lord
9139af1c62
Merge branch '2.1.x' 2022-06-12 14:10:51 -07:00
David Lord
2ea77c2782
rewrite deployment docs 2022-06-12 14:00:00 -07:00
David Lord
dcd1a1e0b6
Merge branch '2.1.x' 2022-06-11 14:16:51 -07:00
David Lord
2f3c87dcb8
rewrite javascript docs 2022-06-11 13:44:46 -07:00
David Lord
bab5a65e6e
rewrite class-based view docs 2022-06-06 15:33:46 -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
Nathan Brown
c45c81938a
Add link to additional packaging info 2022-05-23 10:42:51 -07:00
lecovi
9252be9c9e
docs: new configuration format for celery 2022-05-23 10:16:45 -07:00
David Lord
2381044d04
remove references to mailing list 2022-05-10 09:28:43 -07:00
Luis Palacios
410a324ec4
remove becomingbig.rst 2022-05-10 09:16:44 -07: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
Bo Bayles
3fd24c1f6f Fix copy/paste error in wsgi-standalone.rst 2022-04-25 10:55:30 -05:00
MeViMo
4dd14ed039 Syntax error in testing.rst 2022-04-13 18:49:51 +02:00
MeViMo
19d7a0ef78
docs pass cli args as kwarg to test runner 2022-04-08 11:03:06 -07:00
LarsMoons
e3c014f9aa
docs "Returning API Errors as JSON" return correct status code 2022-04-08 10:57:02 -07:00
David Lord
e75d575361
windows env vars are uppercase 2022-03-25 12:07:45 -07:00
David Lord
4eb5e9455b
more from_prefixed_env features
* support nested dict access with "__" separator
* don't specify separator in prefix
* catch exceptions for any loads function
2022-03-25 11:54:45 -07:00
pgjones
08a283af5e
Allow loading of environment variables into the config
This new method will pick out any environment variables with a certain
prefix and place them into the config named without the prefix. This
makes it easy to use environment variables to configure the app as is
now more popular than when Flask started.

The prefix should ensure that the environment isn't polluted and the
config isn't polluted by environment variables.

I've followed the dynaconf convention of trying to parse the
environment variable and then falling back to the raw value if parsing
fails.
2022-03-25 11:54:03 -07:00
David Lord
81c7ff7f8d
update tests for relative redirects 2022-03-25 11:48:26 -07:00
octopoulpe
d80f41f57d
Update errorhandling.rst 2022-03-22 10:29:00 +01:00