HighCat highcat

View gist:4545876
1 2 3 4 5 6
if settings.DEBUG:
from django.core.signals import got_request_exception
import traceback
def _print_request_error(sender, request, **kwargs):
traceback.print_exc()
got_request_exception.connect(_print_request_error)
Something went wrong with that request. Please try again.