David Lord
c94d2a77db
add endpoint name in favicon example
2025-03-29 15:30:56 -07:00
kotvkvante
f51a23839a
fix bash cli syntax error and app name
2025-03-29 15:09:26 -07:00
zhuangzhuang
75a8327cfd
Update mongoengine.rst
2025-03-29 14:47:41 -07:00
nick2202
b7c1290528
Fix wrong spelling of JS method .innerHTML
2023-09-24 15:58:22 +01: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
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
Pedro Guilherme S. Moreira
55332be325
docs: fix wrong JS syntax ( #5136 )
2023-05-18 14:33:44 +02:00
Pamela Fox
15f2ca2c24
Update appfactories.rst
...
Remove unneeded backticks
2023-03-31 12:20:27 -07:00
David Lord
a18ae3d752
Merge branch '2.2.x'
2023-02-10 15:06:38 -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
owgreen
9abe28130d
fix doc
2023-02-02 08:57:38 -08:00
David Lord
8f13f5b6d6
update docs and examples for pyproject
...
setup.py -> pyproject.toml
venv -> .venv
2023-01-18 10:32:51 -08:00
Asif Saif Uddin
1a68768e6b
python 2 style inheritance clean up from docs
2022-12-24 10:31:23 -07:00
David Lord
1d07857b1d
fix typo
2022-08-15 07:29:34 -07: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
e0dad45481
update docs about contexts
2022-07-08 11:13:09 -07:00
David Lord
96d39c87a8
Merge remote-tracking branch 'origin/2.1.x'
2022-07-01 13:32:50 -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
ab1fbef29a
prefer --app over FLASK_APP in docs
2022-06-17 09:26:26 -07:00
David Lord
2f3c87dcb8
rewrite javascript docs
2022-06-11 13:44:46 -07:00
lecovi
9252be9c9e
docs: new configuration format for celery
2022-05-23 10:16:45 -07:00
Luis Palacios
410a324ec4
remove becomingbig.rst
2022-05-10 09:16:44 -07:00
otherJL0
afe77feef3
Adding Fish commands to docs
2022-01-14 08:26:50 -08:00
karintou8710
21def4e05c
Fixes old print statement in some documentation pages
2021-10-16 02:04:07 +09:00
Kasper Primdal Lauritzen
3a78f501e9
Fix broken link to Flask-WTF
2021-10-01 09:57:25 -07:00
Grey Li
84aa8706c0
Remove the mention of Flask-Uploads in uploading docs
2021-08-14 05:10:45 -07:00
Frank Yu
29c09a92c4
Omit the type attribute of script tag
2021-07-07 15:18:04 +08:00
Hugo Montenegro
92bed66194
Update celery.rst
...
small typo
2021-06-08 19:01:07 +02:00
Grey Li
a541c2ac8b
Fix view decorators docs
2021-05-21 12:11:03 +00:00
David Lord
b473e7c97c
use Jinja's tojson filter
2021-02-01 22:48:09 -08:00
David Lord
dc11cdb4a4
move send_file and send_from_directory to Werkzeug
...
The implementations were moved to Werkzeug, Flask's functions become
wrappers around Werkzeug to pass some Flask-specific values.
cache_timeout is renamed to max_age. SEND_FILE_MAX_AGE_DEFAULT,
app.send_file_max_age_default, and app.get_send_file_max_age defaults
to None. This tells the browser to use conditional requests rather than
a 12 hour cache.
attachment_filename is renamed to download_name, and is always sent if
a name is known.
Deprecate helpers.safe_join in favor of werkzeug.utils.safe_join.
Removed most of the send_file tests, they're tested in Werkzeug.
In the file upload example, renamed the uploaded_file view to
download_file to avoid a common source of confusion.
2020-11-05 09:27:52 -08:00
Grey Li
1035efc7d6
Add command switch tabs for Bash, CMD and Powershell with sphinx-tabs ( #3714 )
...
* Enable Sphinx extension sphinx-tabs
* Add command tabs for all export commands
* Add command tabs for all venv commands
Fix trim spaces
2020-10-15 14:08:37 -07:00
miquelvir
598c56c498
fix grammar ( #3769 )
2020-09-28 06:21:59 -07:00
jackwardell
59b0b85835
consolidate error handling docs
...
Remove apierrors.rst and errorpages.rst from patterns and integrate the
content into errorhandling.rst, along with other changes and extra
content.
2020-07-24 09:15:43 -07:00
David Lord
aab20ad431
fix typo
2020-07-08 08:26:21 -07:00
Armin Ronacher
4a1acc8b5f
Some small doc fixes
2020-07-08 15:53:43 +02:00
iomintz
92f648b04e
[docs] streaming contents: use app.response_class
...
Examples should use app.response_class to encourage code that doesn't need to be changed should the response class be customized later on.
2020-06-17 22:00:35 -05:00
Jeff Widman
c432d8b2bc
Fix docs link for Flask-Uploads
2020-05-08 12:42:52 -07:00
David Lord
171aabc87d
remove unused ref directives
...
replace page refs with doc directives
2020-04-04 12:57:14 -07:00
David Lord
2ae740dd49
f-strings everywhere
2020-04-04 12:10:00 -07:00
David Lord
7673835b3d
remove Python 2 from docs
2020-04-04 12:05:44 -07:00
David Lord
909b9751ee
Merge remote-tracking branch 'origin/1.1.x'
2020-02-10 18:41:07 -08:00