[Django] #36527: Allow for annoying runserver development server warning to be silenced via settings.

5 views
Skip to first unread message

Django

unread,
Jul 27, 2025, 3:41:35 PM7/27/25
to django-...@googlegroups.com
#36527: Allow for annoying runserver development server warning to be silenced via
settings.
-------------------------------------+-------------------------------------
Reporter: Klaas van Schelven | Type:
| Uncategorized
Status: new | Component:
| Uncategorized
Version: 5.2 | Severity: Normal
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Since Django 5.2 Django emits this warning.

>WARNING: This is a development server. Do not use it in a production
setting. Use a production WSGI or ASGI server instead.
For more information on production servers see:
https://docs.djangoproject.com/en/5.2/howto/deployment/

I _know_ this and act like it. To avoid warning fatigue, I keep the number
of displayed warnings as close to 0 as possible. Doing so is annoying for
the current warning (it can be done via the env, but not using a setting).

I would like to have a first-class tool to get this thing to shut up :-)

Discussed [https://blog.pecar.me/disable-runserver-warning-in-django-5-2
here] and [https://adamj.eu/tech/2025/06/27/django-hide-development-
server-warning/ here] (with similar reasonings)
--
Ticket URL: <https://code.djangoproject.com/ticket/36527>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Reply all
Reply to author
Forward
0 new messages