summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorLuke Plant <L.Plant.98@cantab.net>2008-05-16 23:24:36 +0000
committerLuke Plant <L.Plant.98@cantab.net>2008-05-16 23:24:36 +0000
commit8c9fceebb1c682401779956a787d73710feb5e6d (patch)
tree3a15eedbbeb178f6f4197451b1a6959c7ab8a667 /docs
parent6f76b9f58d3b34d71f31d088dc629d3337aef24e (diff)
Added DEBUG_PROPAGATE_EXCEPTIONS setting that helps testing under e.g. twill
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7537 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/settings.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/settings.txt b/docs/settings.txt
index 5aee19102b..5f1804fb80 100644
--- a/docs/settings.txt
+++ b/docs/settings.txt
@@ -391,6 +391,16 @@ are inappropriate for public consumption. File paths, configuration options, and
the like all give attackers extra information about your server. Never deploy a
site with ``DEBUG`` turned on.
+DEBUG_PROPAGATE_EXCEPTIONS
+--------------------
+
+Default: ``False``
+
+If set to True, Django's normal exception handling of view functions
+will be suppressed, and exceptions will propagate upwards. This can
+be useful for some test setups, and should never be used on a live
+site.
+
DEFAULT_CHARSET
---------------