Commit graph

1560 commits

Author SHA1 Message Date
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
David Lord
b6a8ccd2cf
Merge branch '2.0.x' 2022-02-14 12:06:57 -08:00
David Lord
761d7e1652
rewrite testing docs 2022-02-13 14:06:51 -08:00
Mickaël Guérin
beae1249f7
add exclude-patterns option to flask run 2022-02-09 12:44:03 -08:00
David Lord
e37e87140e
Merge branch '2.0.x' 2022-02-09 07:37:43 -08:00
Cameron Dahl
08ad8aabfe
Remove X-XSS-Protection suggestion 2022-01-14 08:32:36 -08:00
otherJL0
afe77feef3
Adding Fish commands to docs 2022-01-14 08:26:50 -08:00
David Lord
0fb5c2f034
Merge branch '2.0.x' 2021-12-22 20:02:52 -07:00
Grey Li
0122a4f34f
Fix the command for checking port on macOS in server docs 2021-12-22 18:59:28 -07:00
David Lord
edac7e3a56
Merge branch '2.0.x' 2021-12-22 15:21:31 -08:00
Jürgen Gmach
f16524ea1d
fix typo 2021-12-16 04:28:09 +01:00
David Lord
2e10fc24a1
document address already in use error 2021-11-16 09:04:18 -08:00
David Lord
9fe21310bb
replace nbsp characters 2021-11-16 08:34:55 -08:00
David Lord
ea66c68553
Merge branch '2.0.x' 2021-11-15 13:26:06 -08:00
David Lord
b7501776a1
remove deprecated safe_join 2021-11-12 09:52:16 -08:00
David Lord
df806c8035
update docs about gevent/eventlet/greenlet 2021-11-11 18:32:07 -08:00
David Lord
1b552d0b01
remove ContextVar compat 2021-11-11 16:12:08 -08:00
David Lord
e609dddd60
drop Python 3.6 2021-11-11 16:11:43 -08:00
Chenwei Xiao
a2e79eefc9 Correct the actual unescaped character
`»` should be unescaped to `»` after `striptags`.

Ref: https://flask.palletsprojects.com/en/2.0.x/api/#flask.Markup.striptags
2021-11-07 10:40:52 +08:00
Ryan Nevius
225ff3ea6c Fix example SECRET_KEY generation code
Removes the extra `)` in: `print(secrets.token_hex())`
2021-10-18 10:41:39 +02:00