Commit graph

138 commits

Author SHA1 Message Date
Markus Heidelberg
3d03098a97 Abort if the instance folder cannot be created
According to the comment, the instance folder should exist in any case.
But a PermissionError was ignored silently.

Since Python 3.9 is the minimum required version, it is safe to use
"exist_ok" added in Python 3.2 and avoid exception handling.
2026-01-27 09:18:37 +01:00
David Lord
8aa161a437
add sqlite datetime converter 2024-11-01 17:18:52 -07:00
Pamela Fox
11da927fd9
Update install.rst with required description 2023-07-03 05:51:06 -07:00
David Lord
6b9acd565c
switch docs to flit 2023-06-27 14:13:56 -07:00
David Lord
8f13f5b6d6
update docs and examples for pyproject
setup.py -> pyproject.toml
venv -> .venv
2023-01-18 10:32:51 -08:00
David Lord
74e5263c88
new run debug docs 2022-12-29 09:52:18 -08:00
David Lord
4d69165ab6
revert run debug docs 2022-12-29 09:51:34 -08:00
Grey Li
bd26928fdb
Prefer flask run --debug in docs 2022-12-24 15:24:49 -07:00
Kevin Kirsche
00bdc2b448
fix: remove obsolete zip_safe (#4783)
remove obsolete `zip_safe`
2022-08-22 09:05:52 -07:00
David Lord
30427a2090
remove FLASK_ENV from docs 2022-08-01 15:11:35 -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
Nathan Brown
c45c81938a
Add link to additional packaging info 2022-05-23 10:42:51 -07:00
David Lord
81c7ff7f8d
update tests for relative redirects 2022-03-25 11:48:26 -07:00
otherJL0
afe77feef3
Adding Fish commands to docs 2022-01-14 08:26:50 -08: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
Kevin Kirsche
58a08a1d73
use secrets instead of os.urandom 2021-10-13 08:12: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
Elahi-cs
3127c304ec Small SQL formatting fix 2021-07-07 19:41:11 +02:00
Grey Li
aa6fbf2f5a Fix typo in docs/tutorial/index.rst 2021-05-24 16:33:02 +08:00
David Lord
1936ca8a2e
remove BaseRequest and BaseResponse 2021-01-29 10:52:48 -08:00
Grey Li
de0af03862 Merge remote-tracking branch 'origin/1.1.x' 2020-12-30 21:00:49 +08:00
jordivandooren
7d3ae48d57
fix explanation of wheel name (#3848)
* fix explanation of wheel name

* Improve the description of wheel filename format

Co-authored-by: Grey Li <withlihui@gmail.com>
2020-12-30 18:57:37 +08:00
Viet Hung Nguyen
7c20611cdd
mkstemp returns a file descriptor (#3809) 2020-10-31 20:09:57 -07: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
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
Grey Li
ef434ea998
Replace old pocoo links everywhere
pocco.org -> palletsprojects.com
2019-11-19 09:32:35 -08:00
David Lord
b05a685a03
Merge branch '1.0.x' 2019-07-01 10:54:31 -07:00
Anthony Sottile
a5ecdfa7a5
Fixes for PEP451 import loaders and pytest 5.x
- pytest 5.x drops python2 compatibility and therefore only implements PEP 451
- pytest 5.x made the repr of `ExcInfo` less confusing (fixed tests depending
  on the old format)
2019-07-01 10:43:06 -07:00
David Lord
1351d0a565
Merge branch '1.0.x' 2019-06-23 16:57:52 -07:00
David Lord
cb6272ccc8
fix docks linkcheck 2019-06-23 15:37:51 -07:00
jaydarius
42da151fc7 use or to complete the either statement 2019-05-08 10:59:55 -04:00
David Lord
ac6746d1be
Merge branch '1.0-maintenance' 2019-01-06 15:46:33 -08:00
David Lord
d6151340bc
clarify where to call flask run from in tutorial 2019-01-06 15:10:38 -08:00
David Lord
3b45b82ec2
Merge branch '1.0-maintenance' 2019-01-06 10:36:54 -08:00
Jesse Seldess
90aef1b2cf
Fix typos found while completing the Flask tutorial 2019-01-06 08:01:45 -08:00
Grey Li
21b0aa6dd8 Add prefix for all commands in documentation (#2877)
* Add prefix for commands in docs

* Add prefix for commands in example's README
2018-09-09 17:41:56 +09:00
cktan98
f45ceec31f Fix grammatical error 2018-07-25 01:57:30 +08:00
Bill Fienberg
15b2301754
Fix grammatical error: incorrect verb conjugation
Before: >However, as a project *get* bigger

After: >However, as a project *gets* bigger
2018-06-29 14:35:44 -05:00
Aaron Hall, MBA
5a75da5471
add missing port to localhost URL 2018-04-30 19:03:05 -07:00
Aaron Hall, MBA
a6750079f8
add missing port to localhost URL 2018-04-30 21:28:53 -04:00
David Lord
c3dd7b8e4c
rewrite tutorial docs and example 2018-04-09 00:53:25 -07:00
David Lord
87c2e121e0
clean up FLASK_ENV docs [ci skip] 2018-01-10 15:46:11 -08:00
Armin Ronacher
2433522d29
Add Support for FLASK_ENV (#2570)
This introduces environments to Flask
2018-01-06 17:07:56 +01:00
Brennan Vincello
7640a1f1c9 Add version warning 2017-08-10 21:51:02 -07:00
David Lord
465922e5f1
clean up secret key docs
consistent key across docs and examples
consistent key across tests, set in conftest
2017-06-28 07:58:06 -07:00
Dave
7e14f6706a Fix typo 2017-05-25 10:04:10 +05:30