mirror of
https://github.com/bugsink/bugsink.git
synced 2025-12-30 01:40:08 -06:00
Hide the development server warning
https://adamj.eu/tech/2025/06/27/django-hide-development-server-warning/
This commit is contained in:
@@ -6,6 +6,9 @@ from pathlib import Path
|
||||
|
||||
from django.utils.log import DEFAULT_LOGGING
|
||||
|
||||
# Hide development server warning
|
||||
# https://docs.djangoproject.com/en/stable/ref/django-admin/#envvar-DJANGO_RUNSERVER_HIDE_WARNING
|
||||
os.environ["DJANGO_RUNSERVER_HIDE_WARNING"] = "true"
|
||||
|
||||
# We have a single file for our default settings, and expect (if they use the singleserver setup) the end-users to
|
||||
# configure their setup using a single bugsink_conf.py also. To be able to have (slightly) different settings for e.g.
|
||||
|
||||
Reference in New Issue
Block a user