Get the cms up to the point of rendering a template

This commit is contained in:
Calen Pennington
2012-06-08 14:01:41 -04:00
committed by Matthew Mongeau
parent e845221f4a
commit 5ff05f7a95
35 changed files with 240 additions and 10 deletions

View File

View File

@@ -0,0 +1,10 @@
from django.core.signals import got_request_exception
from django.dispatch import receiver
import logging
@receiver(got_request_exception)
def record_request_exception(sender, **kwargs):
logging.exception("Uncaught exception from {sender}".format(
sender=sender
))