Display the appropriate type of error message depending on the type of the incoming request

This commit is contained in:
Calen Pennington
2012-05-16 13:45:00 -04:00
parent 698d0a167e
commit 69321b4497
5 changed files with 47 additions and 39 deletions

View File

@@ -226,6 +226,7 @@ TEMPLATE_LOADERS = (
MIDDLEWARE_CLASSES = (
'util.middleware.ExceptionLoggingMiddleware',
'util.middleware.AcceptMiddleware',
'django.middleware.cache.UpdateCacheMiddleware',
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',