﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
36851	Add dark mode support for Django debug error pages	Ekin Ertaç	Ekin Ertaç	"== Problem

When working in dark mode environments, Django's debug error pages (500, 404, etc.) display with bright white backgrounds (`#fff` and `#eee`), which causes significant eye strain and discomfort. This is a common issue for developers who work in dark mode, as the sudden bright white page can be jarring and painful to look at.

Django's admin interface and the main Django website already support dark mode, but the error pages do not, creating an inconsistent experience.

== Proposed Solution

Add dark mode support to Django's debug error page templates using CSS media queries (`@media (prefers-color-scheme: dark)`). This would automatically detect the user's system preference and apply appropriate dark theme colors.

The affected templates are:
* `django/views/templates/technical_500.html`
* `django/views/templates/technical_404.html`

This should follow the same pattern used in Django admin for consistency.

== Benefits

* Reduces eye strain for developers working in dark mode
* Creates consistency with Django admin and website dark mode support
* Respects user's system preferences automatically
* No breaking changes - light mode remains the default for systems without dark mode preference"	New feature	closed	Error reporting	6.0	Normal	duplicate			Unreviewed	1	0	0	0	0	1
