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
7 years ago
David Lord
ad7ed87f5e
Merge pull request #2446 from chuanma/master
...
replace @pytest.yield_fixture by @pytest.fixture
7 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'.
7 years ago
Hsiaoming Yang
7d4703e98a
Merge pull request #2442 from hallazzang/patch-1
...
corrected indentations for pypi description
7 years ago
Hsiaoming Yang
330792e10b
Merge pull request #2445 from brennv/add-version-warning
...
Add version warning to Flaskr tutorial
7 years ago
Brennan Vincello
7640a1f1c9
Add version warning
7 years ago
hallazzang
392989aaa7
corrected indentations for pypa description
7 years ago
David Lord
97ad085912
fix links
7 years ago
David Lord
1c35b98f0b
fix code block
7 years ago
David Lord
2efb565fbc
mention that session signature checks max age
...
add expiration to cookie security docs
closes #2422
7 years ago
David Lord
ed1f604727
Update CHANGES
7 years ago
David Lord
c74f46979a
Merge pull request #2436 from davidism/logging
...
Simplify logging
7 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
7 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
7 years ago
David Lord
a89bdb3395
prefer the url's scheme over the kwarg
...
tabs -> spaces
add test
add changelog
7 years ago
David Lord
417bc336de
egg_info -R flag is gone
7 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
7 years ago
David Lord
851eaa4db7
Merge pull request #2416 from davidism/dotenv
...
Add .env support
7 years ago
David Lord
491d331e6e
load env vars using python-dotenv
7 years ago
asmith26
8e2ef5bde3
Fix typo in docs ( #2419 )
7 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
7 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
7 years ago
David Lord
59f7966e31
support passing environ to test client ( #2412 )
...
closes #2411
7 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()
7 years ago
David Lord
9560f22bb6
clean up
7 years ago
Bijan Vakili
a417e41d27
Update documentation and regression tests to clarify that Flask.teardown_appcontext() only receives unhandled exceptions
7 years ago
William Horton
5909e26fba
Remove unused import from test_basic ( #2403 )
7 years ago
David Lord
8207b1563e
fix formatting
...
-R is no longer an egg_info option
closes #2400
[ci skip]
7 years ago
David Lord
6162ecef19
detox breaks docs test env for some reason
...
[ci skip]
7 years ago
David Lord
01e2d80660
one more secret key in docs
7 years ago
David Lord
d13e41ddef
Merge pull request #2399 from davidism/docs-secret-key
...
clean up secret key docs
7 years ago
David Lord
465922e5f1
clean up secret key docs
...
consistent key across docs and examples
consistent key across tests, set in conftest
7 years ago
David Lord
641fdeaf98
Merge pull request #2398 from miguelgrinberg/app-not-found-error-fix
...
fix variable substitution in error message
7 years ago
Miguel Grinberg
4f30cb7c57
fix variable substitution in error message
7 years ago
David Lord
cce6e7dccc
Merge pull request #2397 from davidism/request-json
...
Un-deprecate Request.json
7 years ago
David Lord
5bc0d15359
un-deprecate request.json
7 years ago
David Lord
1172728a68
Merge pull request #2396 from davidism/remove-script
...
Remove old 0.7 upgrade script
7 years ago