Commit Graph

1692 Commits

Author SHA1 Message Date
Arnout Engelen bb9937593d
docs/testing.rst: fix follow_redirects sample code 2023-10-20 17:17:24 +02:00
Akinola Abiodun Emmanuel 3652ecd9e0
Update index.rst (#5291)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-10-06 16:37:42 -07:00
nick2202 b7c1290528 Fix wrong spelling of JS method .innerHTML 2023-09-24 15:58:22 +01:00
David Lord 04994df59f
remove deprecated code 2023-08-16 15:00:49 -07:00
David Lord a887e179b8
clean up 2023-08-16 14:25:53 -07:00
pavithra aa6d4c3e92
update dispatch-by-path example 2023-08-16 14:25:36 -07:00
Pamela Fox 11da927fd9
Update install.rst with required description 2023-07-03 05:51:06 -07:00
ToolMoney aea13d5a10 fix typo in errorhandling doc 2023-06-29 17:20:35 -07:00
David Lord 6b9acd565c
switch docs to flit 2023-06-27 14:13:56 -07:00
mohammad m. moniri a7ae372f2f
update import of declarative_base from SQLAlchemy 2023-06-21 09:30:03 -07:00
Jeroendevr 0f477df86a
Config from Data Files to match from_file API
In the API docs using a TOML file to load config is referred to as https://flask.palletsprojects.com/en/2.3.x/api/#flask.Config.from_file

To keep docs consistent a small change to the config docs.
2023-05-24 11:13:36 +02:00
Pedro Guilherme S. Moreira 55332be325
docs: fix wrong JS syntax (#5136) 2023-05-18 14:33:44 +02:00
EtiennePelletier d48deba273 Remove double period in signals documentation page 2023-04-24 11:06:27 -06:00
David Lord 83d777bebf
use new logo 2023-04-20 11:38:04 -07:00
David Lord 2e8fe7b2f2
drop support for python 3.7 2023-04-20 11:09:55 -07:00
David Lord f139024b1c
remove old links 2023-04-20 09:53:38 -07:00
David Lord cfa863c357
Merge branch '2.2.x' 2023-04-15 12:30:20 -07:00
David Lord 5bba529dfc
document passthrough_errors 2023-04-15 11:53:56 -07:00
David Lord 9cb1a7a52d
blinker is required, signals are always available 2023-04-13 07:39:24 -07:00
lettow-humain c67bfe551d
fix parentheses 2023-04-12 13:19:54 -07:00
David Lord c24f8c8199
no cookie domain by default 2023-04-12 12:38:22 -07:00
Pamela Fox 15f2ca2c24
Update appfactories.rst
Remove unneeded backticks
2023-03-31 12:20:27 -07:00
David Lord 7ee9ceb71e
Merge branch '2.2.x' 2023-03-11 08:23:08 -08:00
David Lord 31022056ae
remove broken link 2023-03-11 07:30:21 -08:00
martinamca 0bc6be604d
Update installation.rst
The link to Blinker does not work.
2023-03-08 21:28:33 +03:00
David Lord 9c02f07f9b
deprecate markupsafe exports 2023-02-23 08:55:01 -08:00
David Lord 6650764e97
remove previously deprecated code 2023-02-23 08:35:16 -08:00
David Lord ed5b240417
Merge branch '2.2.x' 2023-02-15 14:48:09 -08:00
David Lord 24df8fc89d
show 'run --debug' in docs
Reverts commit 4d69165ab6. Now that a
release has this option, it's ok to show it in the docs. It had been
reverted because the 2.2.x docs showed it before 2.2.3 was released.
2023-02-15 14:33:32 -08:00
David Lord a18ae3d752
Merge branch '2.2.x' 2023-02-10 15:06:38 -08:00
David Lord a6cd8f212e
document the lifecycle of a flask application and request 2023-02-10 14:48:02 -08:00
David Lord d5527264f0
Merge pull request #4968 from pallets/docs-celery
rewrite celery docs, add example application
2023-02-10 09:35:31 -08:00
David Lord 3f195248dc
add celery example 2023-02-10 09:16:53 -08:00
David Lord dca8cf013b
rewrite celery background tasks docs 2023-02-09 10:50:42 -08:00
Maxim G. Ivanov 428d9430bc Fix command-line formatting 2023-02-09 09:38:57 +07:00
David Lord 4ddb3f73ba
Merge branch '2.2.x' 2023-02-07 07:18:54 -08:00
David Lord 3502cc951b
Merge pull request #4952 from muffinmad/patch-1
Fix function argument name
2023-02-02 09:01:21 -08:00
owgreen 9abe28130d
fix doc 2023-02-02 08:57:38 -08:00
Andrii Kolomoiets d93760d8bd
Fix function argument name 2023-01-23 17:01:49 +02:00
David Lord 8f13f5b6d6
update docs and examples for pyproject
setup.py -> pyproject.toml
venv -> .venv
2023-01-18 10:32:51 -08:00
pgjones cabda59353 Ensure that blueprint subdomains suffix-chain
This ensures that a child's subdomain prefixs any parent subdomain
such that the full domain is child.parent.domain.tld and onwards with
further nesting. This makes the most sense to users and mimics how
url_prefixes work (although subdomains suffix).
2023-01-04 18:06:04 +00:00
David Lord 74e5263c88
new run debug docs 2022-12-29 09:52:18 -08:00
David Lord eeebb5adc7
Merge branch '2.2.x' 2022-12-29 09:51:58 -08:00
David Lord 4d69165ab6
revert run debug docs 2022-12-29 09:51:34 -08:00
David Lord 910179f9b0
Merge branch '2.2.x' 2022-12-24 15:31:07 -07:00
Grey Li bd26928fdb
Prefer flask run --debug in docs 2022-12-24 15:24:49 -07:00
Jonah Lawrence 79032ca5f1
Add .svg to select_jinja_autoescape (#4840)
As SVG files are a type of XML file and are similar in nearly
all aspects to XML, .svg should also be autoescaped.
2022-12-24 11:27:20 -07:00
David Lord 7464e17c5e
Merge branch '2.2.x' 2022-12-24 11:21:59 -07:00
Asif Saif Uddin 1a68768e6b
python 2 style inheritance clean up from docs 2022-12-24 10:31:23 -07:00
Maxim G. Ivanov 43ef559de3 Fix varname in docs 2022-12-22 21:28:18 +08:00
rayanth 95b666871c
Update api.rst
Corrected typo in "tojson" example, `const names = {{ names|tojson }};` was `const names = {{ names|tosjon }};`
2022-12-13 13:27:38 -08:00
David Lord b5ec83b697
Merge pull request #4882 from Abdur-rahmaanJ/patch-4
Fix backtick not rendering.
2022-11-27 06:51:08 -08:00
Dosenpfand 9a294a6401 Fix class-based views example 2022-11-27 13:10:14 +01:00
Abdur-Rahmaan Janhangeer d951a763fb
Fix backstick not rendering. 2022-11-27 13:51:09 +04:00
David Lord 066a35dd32
Merge branch '2.2.x' 2022-11-25 07:51:37 -08:00
Jonah Lawrence cc66213e57
Add .svg to select_jinja_autoescape (#4840)
As SVG files are a type of XML file and are similar in nearly 
all aspects to XML, .svg should also be autoescaped.
2022-10-30 14:55:51 +00:00
Mat Steininger 5dfd2126a6 Fixed inconsistent double spacing in docs/api.rst 2022-10-30 22:45:33 +08:00
David Lord 3dc6db9d0c
Merge pull request #4835 from TehBrian/2.2.x
fix typo in quickstart
2022-10-04 20:09:06 -07:00
TehBrian 75e92090ee
fix typo in quickstart 2022-10-04 21:12:13 -04:00
Maksim Salau 9c3deeee96
Fix argument in `register_api()` in docs/view.rst (#4818) 2022-09-14 06:08:38 -07:00
waffle-stomper 2c78771238
Fix missing assignment in MethodView example (#4815) 2022-09-14 06:07:20 -07:00
David Lord ce6ad90ecf
remove heroku link 2022-08-27 06:03:46 -07:00
Kevin Kirsche 00bdc2b448
fix: remove obsolete `zip_safe` (#4783)
remove obsolete `zip_safe`
2022-08-22 09:05:52 -07:00
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