django-planet
June 26, 2025

Django: hide the development server warning

published by Adam Johnson
in blog Adam Johnson
original entry Django: hide the development server warning

From Django 5.2 (April 2025), the runserver management command outputs a warning:

$ ./manage.py runserver
...
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.

WARNING: This is a development server. Do not use it in a production setting. Use a production WSGI or …