# Dark theme for Django's error page

**URL:** <https://forum.djangoproject.com/t/dark-theme-for-djangos-error-page/37221>\
**Category:** Django Internals\
**Created:** [December 15, 2024, 3:27am UTC](https://forum.djangoproject.com/t/dark-theme-for-djangos-error-page/37221 "2024-12-15T03:27:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![suspiciousRaccoon](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/suspiciousraccoon/32/16844_2.png) [@suspiciousRaccoon](https://forum.djangoproject.com/u/suspiciousRaccoon)\
**Post date:** [December 15, 2024, 3:27am UTC](https://forum.djangoproject.com/t/dark-theme-for-djangos-error-page/37221/1 "2024-12-15T03:27:26Z")

</div>

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. 🙂  
I also believe that this would improve Django’s accessibility.

---

<div class="post-metadata">

**Author:** ![timgraham](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/timgraham/32/11972_2.png) [@timgraham](https://forum.djangoproject.com/u/timgraham)\
**Post date:** [December 16, 2024, 3:06am UTC](https://forum.djangoproject.com/t/dark-theme-for-djangos-error-page/37221/2 "2024-12-16T03:06:03Z")

</div>

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](https://code.djangoproject.com/ticket/35875)
