The main difference is that you no longer ask the dispatcher to connect you to a certain signal, you directly request a signal. Therefore, it looks something like this:
from django.core.signals import got_request_exception from django.db import _rollback_on_exception def log_exception(*args, **kwds): logging.exception('Exception in request:')
source share