Commit graph

137 commits

Author SHA1 Message Date
David Lord
9cb1a7a52d
blinker is required, signals are always available 2023-04-13 07:39:24 -07:00
David Lord
5cdfeae2e8
Merge branch '2.2.x' 2023-02-23 15:58:29 -08:00
David Lord
736b5f9ff8
update dependencies 2023-02-23 15:58:21 -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
3f195248dc
add celery example 2023-02-10 09:16:53 -08:00
David Lord
99b34f7148
move and update flake8 config 2023-01-20 13:42:50 -08:00
David Lord
3a35977d5f
stop ignoring flake8 e402 2023-01-19 06:35:15 -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
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
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
David Lord
6f6e3289da
remove javascript fetch polyfill 2022-06-08 07:30:29 -07:00
David Lord
81c7ff7f8d
update tests for relative redirects 2022-03-25 11:48:26 -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
David Lord
52adf2ec21
rename default branch in files 2021-05-11 15:18:41 -07:00
David Lord
024f0d384c
move package metadata to setup.cfg 2020-04-04 14:50:21 -07:00
David Lord
524fd0bc8c
apply pyupgrade 2020-04-04 12:10:00 -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
53c893b646
fix string concats left over by black 2019-06-01 09:22:20 -07:00
David Lord
43483683b2
apply reorder-python-imports pre-commit config 2019-06-01 09:07:20 -07:00
David Baumgold
025589ee76 Reformat with black
https://github.com/python/black
2019-05-06 16:28:58 -04: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
Gerald Senarclens de Grancy
d0088e63d8 add init-db call to flask tutorial
otherwise the user is confronted with an unpleasant error
message when accessing the dev server the first time
2018-06-13 20:51:50 +02:00
Hsiaoming Yang
64ac1b0d36 Revert "Close tag on js examples."
This reverts commit b7f6ff4f0b.
2018-04-21 15:12:06 +09:00
Hsiaoming Yang
b7f6ff4f0b
Close tag on js examples. 2018-04-21 14:48:15 +09:00
David Lord
1e84c67beb
clean up js example 2018-04-12 12:17:14 -07:00
David Lord
fce1885f76
add javascript ajax example 2018-04-12 11:06:02 -07:00
David Lord
c3dd7b8e4c
rewrite tutorial docs and example 2018-04-09 00:53:25 -07:00
David Lord
310fbfcf64
revert copyright year to project start
add copyright header to files
2018-02-08 12:43:30 -08:00
David Lord
ffca68fc86
fix windows failure to remove temp file 2018-01-05 12:36:01 -08:00
domandinho
50964fb4ab Minor fix in flaskr example README 2017-11-09 22:52:24 +01:00
Arie Marie 'Thomas' Dalleis
7c51019985 Fix typos and formatting 2017-08-15 16:05:48 +02: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
David Lord
6a8c8c3484
set example app names directly 2017-05-27 12:47:44 -07:00
David Lord
11f463f1bd
flaskr correct app name 2017-05-27 08:44:07 -07:00
Kenneth Reitz
e26cc8f904 i think this is how this works now 2017-05-25 18:01:52 -04:00
Kenneth Reitz
e6740ec2f3 Merge branch 'master' into improve-flaskr 2017-05-25 14:40:52 -07:00
bovarysme
fe27d04cc1 Fix a small oversight in the testing docs 2017-05-23 22:22:16 +02:00
David Lord
a037762781 Merge pull request #2311 from bovarysme/use-yield-syntax
Use the yield syntax in pytest's fixtures
2017-05-23 12:00:34 -07:00
bovarysme
5963cb5a51 Use the yield syntax in pytest's fixtures 2017-05-23 18:21:29 +02:00
Neil Grey
378a11f992 For Issue #2286: Updating test_flaskr to use yield inside fixture 2017-05-22 18:22:08 -07:00
Kyle Lawlor
54b6fc8de6 Add in a fixture utilizing app factory 2017-04-02 12:29:37 -04:00