Currently this problem is not easy to work around.
Having debug=false for production helps protect production servers. But
some users use the same db user/password for both development and
production systems. So leaking one leaks the other.
On rare occasions, people need to temporarily enable debug on production
to solve some quick issue. So fixing the bug would make this safer.
--
Ticket URL: <https://code.djangoproject.com/ticket/32465>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* resolution: => duplicate
* component: Uncategorized => Error reporting
Comment:
I'm guessing you aren't using Django 3.1 which has #23004, but if you are
please elaborate on where you see this.
--
Ticket URL: <https://code.djangoproject.com/ticket/32465#comment:1>