To perform system logging, Django uses Python's built-in logging module or the structlog module mentioned in the previous recipe. The default Django configuration seems to be quite complex. In this recipe, you will learn how to tweak it to send error emails with complete HTML, similar to what is provided by Django in the DEBUG mode when an error happens.
Getting detailed error reporting via email
Getting ready
Locate the Django project in your virtual environment.
How to do it...
The following procedure will send detailed emails about errors to you:
- If you do not...