Commit graph

66 commits

Author SHA1 Message Date
Jason Brazeal
d88c08e56f improved documentation for config.from_object (#1870) 2016-06-02 15:40:59 -07:00
ThiefMaster
c5900a1adf s/1.0/0.11/ in versionadded/versionchanged markers
closes #1817
2016-05-23 14:43:23 +02:00
Steven Loria
2bf477cfea Add JSONIFY_MIMETYPE configuration variable (#1728)
Allow jsonify responses' mimetype to be configured
2016-04-08 15:30:47 -07:00
bagratte
9a80fe691d minor revision of documentation. 2016-04-01 23:12:25 +02:00
Daniel Thul
2faf245876 Fix typo. 2015-11-11 23:46:51 +01:00
Timo Furrer
d526932a09 support timedelta for SEND_FILE_MAX_AGE_DEFAULT config variable 2015-10-24 07:04:23 +02:00
defuz
974e144843 docs: remove unnecessary colons 2014-11-05 10:37:34 +03:00
defuz
ad011bc32d docs: `DEBUG, SERVER_NAME, PATH_INFO` 2014-11-05 07:10:49 +03:00
defuz
a8f570cc62 docs: :file:app.py, :file:yourapp/templates 2014-11-05 06:45:22 +03:00
defuz
8284217593 docs: `True, False and None` 2014-11-05 06:04:58 +03:00
Ivan Ivaschenko
6a6acfbb09 Using double-backticks: `None` 2014-11-02 22:41:38 +03:00
defuz
76f3d6b45e improve TEMPLATE_AUTO_RELOAD docs 2014-10-30 18:40:38 +03:00
defuz
f88765d504 set TEMPLATE_AUTO_RELOAD default value to None 2014-10-26 18:28:12 +03:00
Armin Ronacher
bafc139810 Added EXPLAIN_TEMPLATE_LOADING to help people debug templates not being loaded. 2014-09-03 17:57:51 +02:00
Armin Ronacher
84ad89ffa4 Always log now, even if debug is off. 2014-08-27 01:08:19 +02:00
Daniel Neuhäuser
02f0c755a3 Merge pull request #1117 from lord63/patch-1
Fix some typos
2014-07-26 17:26:31 +02:00
lord63
e429e47a96 Correct the mistakes. 2014-07-26 20:15:36 +08:00
Nico Revin
22219f51e5 Update doclinks
Fix redirects and broken links
2014-07-24 23:30:50 +04:00
lord63
02e7bec21c Fix typos in config.rst 2014-07-14 15:08:52 +08:00
lord63
7777b06809 Fix a typo in config.rst 2014-07-14 15:08:52 +08:00
Kenneth Reitz
7f5b6c692d Merge pull request #876 from defuz/templates-auto-reload
Add TEMPLATES_AUTO_RELOAD config key
2014-03-21 16:43:20 -04:00
Daniel Neuhäuser
718c3a3ce7 Merge pull request #874 from defuz/patch-1
fix typo (jsonfiy -> jsonify)
2014-03-13 20:38:19 +01:00
Mark Hildreth
6a37c1716d Fixed incorrect grammar in Config.rst
Fixed incorrect grammar in "SESSION_REFRESH_EACH_REQUEST" configuration description.
2013-12-24 14:36:28 -05:00
defuz
3e485009a8 add TEMPLATES_AUTO_RELOAD option to config 2013-09-30 21:06:49 +03:00
defuz
475b0c1cd9 fix typo (jsonfiy) 2013-09-26 18:46:30 +03:00
Armin Ronacher
d1d835c023 Added SESSION_REFRESH_EACH_REQUEST config option.
This also changes how sessions are being refreshed.  With the new
behavior set-cookie is only emitted if the session is modified or if the
session is permanent.  Permanent sessions can be set to not refresh
automatically through the SESSION_REFRESH_EACH_REQUEST config key.

This fixes #798.
2013-07-30 16:43:54 +02:00
Armin Ronacher
77d293cf49 Order JSON keys by default to avoid trashing HTTP caches 2013-06-01 19:24:03 +01:00
Armin Ronacher
3d9055b3b7 Added the JSONIFY_PRETTYPRINT_REGULAR config variable. This fixes #725 2013-06-01 00:20:00 +01:00
Armin Ronacher
8339cb3508 Added support for unicode json dumping. This fixes #535 2012-10-18 00:48:15 +01:00
Ron DuPlain
26da6a5365 Use default send_file max-age consistently.
Prior to this commit, the send_file max-age hook and config were only
used for the static file handler. Now they are used when calling
helpers.send_file directly.
2012-04-24 01:48:05 -04:00
Armin Ronacher
3249eeb438 Merge branch 'master' of github.com:mitsuhiko/flask 2012-04-09 15:26:09 +01:00
Armin Ronacher
ab110d8fe5 Documented config changes 2012-04-09 15:24:43 +01:00
Ron DuPlain
d94efc6db6 Expose send_file max-age as config value, #433.
Need to add the same hook in a Blueprint, but this is the first such
case where we need app.config in the Blueprint.
2012-03-13 16:34:16 -07:00
Cory Li
e4d9ccd6ec Changing instance_root to instance_path 2011-11-02 01:45:39 -03:00
Armin Ronacher
396c4bdcc0 Fixed a typo. "Does not" of course 2011-09-25 22:19:20 +02:00
Armin Ronacher
6dccf77546 PERMANENT_SESSION_LIFETIME can now be an integer. This fixes #310 2011-09-25 19:12:41 +02:00
Armin Ronacher
6d0b3264c2 Mention localhost:5000 being pointless in the docs. It already says that down on the page but not on the key 2011-09-25 19:02:47 +02:00
Armin Ronacher
ccf464189b Added finer control over the session cookie parameters 2011-08-30 14:36:50 +02:00
Armin Ronacher
314f9201ab Updated instance path documentation to explain the $PREFIX lookup 2011-08-25 21:16:06 +01:00
Armin Ronacher
f0c089ff6b Merge branch 'master' of github.com:mitsuhiko/flask 2011-08-25 15:19:13 +01:00
Armin Ronacher
c844d02f1c Added the APPLICATION_ROOT configuration variable which is used by session backends. 2011-08-25 12:13:55 +01:00
Priit Laes
713ced603e Improve configuration docs a bit 2011-08-17 08:38:34 +03:00
Armin Ronacher
0520425055 Fixed a typo 2011-08-10 14:00:57 +02:00
Armin Ronacher
9af75546f0 Mention default locations for instance folders 2011-08-10 13:57:30 +02:00
Armin Ronacher
187cb80dcc Documented instance root 2011-08-10 13:55:57 +02:00
Armin Ronacher
acac64e36a Don't only catch BadRequest key errors but all bad request errors. 2011-08-08 21:46:53 +02:00
Armin Ronacher
7155f11a72 Added HTTP exception trapping. This should fix #294 2011-08-05 12:35:41 +02:00
Armin Ronacher
d38c61f42a More modules -> blueprints 2011-06-17 21:58:03 +02:00
Armin Ronacher
aaa24fc05a Merge branch 'master' into blueprints 2011-06-05 09:12:41 +02:00
Simon Sapin
9beee51b0b Clarify in docs that the SERVER_NAME config can also take a port number. 2011-05-30 21:39:12 +02:00