1
0
mirror of https://github.com/django/django.git synced 2025-10-26 07:06:08 +00:00

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
This commit is contained in:
Luke Plant
2008-05-16 23:24:36 +00:00
parent 6f76b9f58d
commit 8c9fceebb1
3 changed files with 18 additions and 1 deletions

View File

@@ -11,6 +11,10 @@ gettext_noop = lambda s: s
DEBUG = False
TEMPLATE_DEBUG = False
# True if BaseHandler.get_response() should propagate raw exceptions
# rather than catching them. This is useful under some testing siutations,
# and should never be used on a live site.
DEBUG_PROPAGATE_EXCEPTIONS = False
# Whether to use the "Etag" header. This saves bandwidth but slows down performance.
USE_ETAGS = False