show exceptions in plain text, not HTML

This commit is contained in:
Michael DeHaan
2013-03-18 15:53:55 -04:00
parent 690af95a50
commit 03204e1027
3 changed files with 10 additions and 0 deletions

View File

@@ -94,6 +94,7 @@ TEMPLATE_CONTEXT_PROCESSORS += (
MIDDLEWARE_CLASSES += (
'django.contrib.auth.middleware.AuthenticationMiddleware',
'lib.middleware.exceptions.ExceptionMiddleware',
#'django.middleware.transaction.TransactionMiddleware',
#'devserver.middleware.DevServerMiddleware',
)