Dark theme for Django's error page

When running with DEBUG=True Django displays an error page when encountered with an exception. This is great and I love it.
However, it is only available in light mode, and it gets quite annoying when coding at night.

Thefore, I’d like to request for dark mode to be added to the DEBUG error page. :slight_smile:
I also believe that this would improve Django’s accessibility.

There is an accepted ticket for adding dark mode to all of the built-in templates, including the error pages. #35875 (Dark mode support for django/views/templates/*.html) – Django

3 Likes