Dmitry Marakasov
7e8efeb6e4
Fix misleading documentation
...
IMO, you would normally interpret "creating and closing database connections all the time" as "creating and closing database connection on each request" as opposed to keeping persistent database connection for a lifetime of an application. However, the documentation is either misleading or "creating and closing database connection on each query" was implied. This, and the term "**application** context" itself makes it look like data placed into flask.g will be available for the following requests, which is not true at all. Let's make the documentation more explicit on this.
7 years ago
Radoslav Gerganov
9291ead32e
Fix typo in logging.rst ( #2492 )
...
Remove extra parenthesis from RequestFormatter constructor.
7 years ago
David Lord
82e66848e8
Merge pull request #2491 from mrnom/patch-1
...
Fix grammar/typos
7 years ago
Mrn Om
c352714478
Fix grammar/typos
7 years ago
David Lord
0932d8f428
Merge pull request #2490 from davidism/cli-review
...
Rewrite CLI errors and docs
7 years ago
David Lord
9bc329c0c9
rewrite cli docs
...
reflects the current FLASK_APP detection
7 years ago
David Lord
5436dddf64
rewrite cli errors
...
consistent order for arguments to load functions
refactor find_app_by_string to flow better
more cli loader tests
7 years ago
David Lord
8020d5eac9
Merge pull request #2450 from Caratpine/master
...
Blueprint view function name should not contain dots
7 years ago
Caratpine
2f57a0b917
Blueprint view function name should not contain dots
7 years ago
Henry Chladil
0a1090890f
Add additional information in the url_rule docs ( #2467 )
...
If a user is making use of the errorhandler(405) decorator, and
they wish to include an Allow header (as per HTTP spec), they may
be confused to find that url_rule is None. This doc change aims to
clarify that because the request was never successfully matched,
it was never bound to a URL rule and to access the valid methods,
they must examine routing_exception.
7 years ago
David Lord
7e4e6eced3
Merge pull request #2475 from greyli/patch-4
...
Fix typo in comment
7 years ago
David Lord
3a8cc37663
install argparse for 2.6
...
closes #2476
7 years ago
Grey Li
851ca95778
Fix typo in comment
7 years ago
Markus Unterwaditzer
f071562ec0
Merge pull request #2470 from ImgBotApp/imgbot
...
[ImgBot] optimizes images
7 years ago
ImgBotApp
ff8f525fb3
[ImgBot] optimizes images
...
\docs\_static\no.png (18.3%))
\docs\_static\touch-icon.png (64.21%))
\docs\_static\flaskr.png (8.32%))
\docs\_static\pycharm-runconfig.png (14.65%))
\docs\_static\debugger.png (2.79%))
\docs\_static\flask.png (30.15%))
\docs\_static\yes.png (13%))
\docs\_static\logo-full.png (29.33%))
7 years ago
Jaap Broekhuizen
62a6aabc8d
Mention Flask instead of Jinja in the issue template
...
For people not really comfortable with the flask ecosystem this can be really confusing.
7 years ago
Brett Johnson
e4928323f2
Update App Engine link
...
Point to an authoritative site for Flask on App Engine that is maintained.
7 years ago
Alejandro Mantecon Guillen
154c621237
Update debugger and flaskr screenshots ( #2454 )
7 years ago
Arie Marie 'Thomas' Dalleis
7c51019985
Fix typos and formatting
8 years ago
David Lord
ad7ed87f5e
Merge pull request #2446 from chuanma/master
...
replace @pytest.yield_fixture by @pytest.fixture
8 years ago
Chuan Ma
5888d76342
pytest.yield_fixture deprecated in pytest 3.0+.
...
It's suggested to use pytest.fixture directly,
and flask already requires 'pytest>=3'.
8 years ago
Hsiaoming Yang
7d4703e98a
Merge pull request #2442 from hallazzang/patch-1
...
corrected indentations for pypi description
8 years ago
Hsiaoming Yang
330792e10b
Merge pull request #2445 from brennv/add-version-warning
...
Add version warning to Flaskr tutorial
8 years ago
Brennan Vincello
7640a1f1c9
Add version warning
8 years ago
hallazzang
392989aaa7
corrected indentations for pypa description
8 years ago
David Lord
97ad085912
fix links
8 years ago
David Lord
1c35b98f0b
fix code block
8 years ago
David Lord
2efb565fbc
mention that session signature checks max age
...
add expiration to cookie security docs
closes #2422
8 years ago
David Lord
ed1f604727
Update CHANGES
8 years ago
David Lord
c74f46979a
Merge pull request #2436 from davidism/logging
...
Simplify logging
8 years ago
David Lord
66b1b752da
simplify logging configuration
...
single default handler and formatter
don't remove handlers
configure level once using setLevel
document logging
reorganize logging tests
8 years ago
David Lord
85fa8aabf5
Merge pull request #2430 from erebus1/env_url_scheme_fix
...
make_test_environ_builder: use url_scheme from path if provided
8 years ago
David Lord
a89bdb3395
prefer the url's scheme over the kwarg
...
tabs -> spaces
add test
add changelog
8 years ago
David Lord
417bc336de
egg_info -R flag is gone
8 years ago
Igor Kasianov
241673fd15
make_test_environ_builder: use url_scheme from path if provided
...
When providing https url in path ("https://example.com/ ")
we hope that we will get https scheme in environment
8 years ago
David Lord
851eaa4db7
Merge pull request #2416 from davidism/dotenv
...
Add .env support
8 years ago
David Lord
491d331e6e
load env vars using python-dotenv
8 years ago
asmith26
8e2ef5bde3
Fix typo in docs ( #2419 )
8 years ago
David Lord
77b98a2762
Merge pull request #2414 from davidism/cli-load-local-package
...
FLASK_APP doesn't require .py extension for local packages
8 years ago
David Lord
fb845b9032
allow local packages in FLASK_APP
...
don't require .py extension in FLASK_APP
add tests for nested package loading
parametrize cli loading tests
8 years ago
David Lord
59f7966e31
support passing environ to test client ( #2412 )
...
closes #2411
8 years ago
David Lord
817903c9c1
Merge pull request #2409 from bijanvakili/clarify-app-teardown
...
Clarify docs and tests for exception handling in Flask.teardown_appcontext()
8 years ago
David Lord
9560f22bb6
clean up
8 years ago
Bijan Vakili
a417e41d27
Update documentation and regression tests to clarify that Flask.teardown_appcontext() only receives unhandled exceptions
8 years ago
William Horton
5909e26fba
Remove unused import from test_basic ( #2403 )
8 years ago
David Lord
8207b1563e
fix formatting
...
-R is no longer an egg_info option
closes #2400
[ci skip]
8 years ago
David Lord
6162ecef19
detox breaks docs test env for some reason
...
[ci skip]
8 years ago
David Lord
01e2d80660
one more secret key in docs
8 years ago
David Lord
d13e41ddef
Merge pull request #2399 from davidism/docs-secret-key
...
clean up secret key docs
8 years ago
David Lord
465922e5f1
clean up secret key docs
...
consistent key across docs and examples
consistent key across tests, set in conftest
8 years ago