#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.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/010701984d678cf5-823acafa-d45b-43b2-be2a-cb3050d36345-000000%40eu-central-1.amazonses.com.

Reply via email to