Hi all,

from the documentation at <http://docs.djangoproject.com/en/1.3/topics/logging/#id2> I get that I need something like


LOGGING = {
    'version': 1,
    'handlers': {
        'mail_admins': {
            'level': 'ERROR',
            'class': 'django.utils.log.AdminEmailHandler',
            'include_html': True,
        }
    }
}


in settings.py in order to include HTML in error emails.

However, that seems to override the default configuration that is normally used for logging, that, afaics, makes sense to keep.

How do I activate HTML in error emails while keeping the default config intact?

Many thanks and best regards,
Carsten



--
   Cafu - the open-source Game and Graphics Engine
for multiplayer, cross-platform, real-time 3D Action
          Learn more at http://www.cafu.de

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to