Skip to content

Instantly share code, notes, and snippets.

@kracekumar
Created March 8, 2015 11:07
Show Gist options
  • Save kracekumar/1a0543c48c80a5e01102 to your computer and use it in GitHub Desktop.
Save kracekumar/1a0543c48c80a5e01102 to your computer and use it in GitHub Desktop.
django print exception to console - Settings
MIDDLEWARE_CLASSES = (
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'metadata.exception_logger.ConsoleExceptionLoggerMiddleware',
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment