David Lord
89c87240b6
changelog for deprecations
7 years ago
David Lord
723e665004
remove deprecated Request.module
7 years ago
David Lord
d63c2bc417
remove deprecated Flask.static_path
7 years ago
David Lord
9491bf8695
remove deprecated Flask.error_handlers
7 years ago
David Lord
c5d3f806d7
Merge pull request #2393 from JohnMoutafis/2385-remove-deprecated-code
...
Remove deprecated code from app.py
7 years ago
John Moutafis
e9386a7273
Remove deprecated request_globals_class _get and _set methods.
7 years ago
John Moutafis
75327c0a85
Remove deprecated init_jinja_globals.
7 years ago
Anthony Plunkett
45c8fb3f3f
Merge pull request #2381 from trirpi/documentation-sqlite-uri-bug
...
sqlite uri connection string should be triple slashed for in-memory example.
8 years ago
trirpi
bfc2ee7dfd
removed bug in memory sqlite uri
8 years ago
David Lord
29c055a2b4
Merge pull request #2378 from miguelgrinberg/default-flask-app
...
Import app from wsgi.py or app.py if FLASK_APP is not defined
8 years ago
David Lord
448368e226
style cleanup
...
[ci skip]
8 years ago
Miguel Grinberg
0b80acb25c
document wsgi.py and app.py default modules
8 years ago
Miguel Grinberg
7c40aa9e50
Import app from wsgi.py or app.py if FLASK_APP is not defined
...
Fixes #2376
8 years ago
David Lord
d625d41104
Merge pull request #2374 from astralblue/json_encode_non_utc_datetimes
...
Correctly JSON-encode datetimes aware of non-UTC timezones
8 years ago
Eugene M. Kim
63ccdada1b
Actually hand-spin and use a tzinfo subclass
...
This is for Python 2.x compatibility.
Suggested-by: David Lord <davidism@gmail.com>
8 years ago
Eugene M. Kim
f803760275
Re-revert to not using pytz
...
Will spin a tzinfo subclass.
8 years ago
Eugene M. Kim
34050630d6
Skip aware datetime tests if pytz is unavailable
8 years ago
Eugene M. Kim
eb9618347c
Use pytz again for tests
...
This is because datetime.timezone is Python 3 only. The only
alternative would be to hand-spin a datetime.tzinfo subclass, an
overkill.
This reverts commit 0e6cab3576
.
8 years ago
Eugene M. Kim
5b38fe2fbe
Merge branch 'master' of github.com:pallets/flask into json_encode_non_utc_datetimes
8 years ago
Eugene M. Kim
0e6cab3576
Rewrite test_jsonify_aware_datetimes without pytz
8 years ago
David Lord
1e112cccaa
Merge pull request #2373 from davidism/reload_templates_run_debug
...
Reconfigure app when debug is set by run command
8 years ago
Eugene M. Kim
d41e2e6a5d
Correctly encode aware, non-UTC datetime objects
...
http_date() requires timetuple in UTC, but JSONEncoder.default() was
passing a local timetuple instead.
8 years ago
David Lord
4d2a3ab2e0
test no debug flag doesn't reconfigure
...
test templates_auto_reload property instead of config
use app fixture in test
8 years ago
Eugene M. Kim
d75d83defd
Add UTs for #2372
...
test_encode_aware_datetime() fails for non-UTC timezones due to the bug.
8 years ago
David Lord
4fc48200a5
reconfigure the app from run command and method
...
extract templates_auto_reload to property
continues #1910
closes #1907
8 years ago
David Lord
9e39c506e0
Merge branch 'master' into reload_templates_run_debug
8 years ago
David Lord
2c97ed985e
Merge pull request #2371 from davidism/register_blueprint-doc
...
document `Flask.register_blueprint` arguments
8 years ago
David Lord
fe1bf3c821
document the blueprint param too
8 years ago
David Lord
0f7b3a4f26
document `Flask.register_blueprint` arguments
...
closes #1809
8 years ago
David Lord
e97f6e22e6
Merge pull request #2370 from tony/patch-2
...
Add docutils label for class-based views
8 years ago
David Lord
75c4ea24c2
Merge pull request #2369 from tony/patch-1
...
Add docutils label for templates page
8 years ago
Tony Narlock
91fd33dbd9
Add docutils label for class-based views
8 years ago
Tony Narlock
66e9dc9df2
Add docutils label for templates page
8 years ago
grahamlutz
cf425403c8
Remove duplicate word from docstring
8 years ago
David Lord
094b116c7f
Merge pull request #2366 from tristanfisher/master
...
Add basic how-to on using envvars for config
8 years ago
David Lord
01d2f725d3
formatting
...
[ci skip]
8 years ago
tristan fisher
53ff054fd3
Fixes grammar and phrasing on envvar how-to
8 years ago
tristan fisher
067686b471
Add basic how-to on using envvars for config
8 years ago
David Lord
9d82993422
Merge pull request #2364 from davidism/xss-note
...
mention csp for javascript: uri xss
8 years ago
David Lord
15756da1f0
mention csp for javascript: uri xss
...
closes #2174
[ci skip]
8 years ago
David Lord
45946028e7
Merge pull request #2363 from davidism/inherited-members
...
document inherited attributes for Flask and Blueprint
8 years ago
David Lord
235c830759
document inherited attributes for Flask and Blueprint
...
closes #480
[ci skip]
8 years ago
David Lord
b80cf057fc
Merge pull request #2362 from davidism/remove-error-handler-cache
...
Remove error handler cache
8 years ago
David Lord
b5f4c52150
don't cache error handlers for exception mro
...
closes #2267 , closes #1433
8 years ago
David Lord
5c12acefbb
failing test
8 years ago
David Lord
706e67ed9e
Merge pull request #2361 from greyli/patch-3
...
Include flask.json package in setup()
8 years ago
Grey Li
16396248b8
Include flask.json package in setup()
8 years ago
David Lord
f29fa0d56b
Merge pull request #2359 from davidism/cli-warning
...
Be smarter about adding ".cli" to reloader command
8 years ago
David Lord
12c45f06a5
remove unused import
8 years ago
David Lord
fa7e8d6073
be smarter about adding ".cli" to reloader command
...
python -m flask.cli raises an import warning on > 2.6
it's only needed on 2.6, "flask" works otherwise
closes #2357
8 years ago