#36527: Allow for runserver development server warning to be silenced via
settings.
-------------------------------------+-------------------------------------
Reporter: Klaas van Schelven | Owner: (none)
Type: New feature | Status: closed
Component: Core (Management | Version: 5.2
commands) |
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Natalia Bidart):
Replying to [comment:3 Klaas van Schelven]:
> also: I wonder how many of Django's behaviors are configurable via os
envs _only_ (I know of no other examples myself).
>
> which to me suggests that it's the behavior that was implemented in 5.2
that needed the _clear justification_.
Fair points, and thanks for the thoughtful reply.
My view is that Django settings are best reserved for configuration values
that affect the **behavior of the web service** itself (i.e. when running
in "real" deployments) not development-time conveniences. For those,
environment variables strike a better balance without expanding the
settings surface. It's somewhat like hiding warnings (which can be done
via an env var), but quite different from silencing system checks (which
is actually a setting) which are often tied to actual deployment readiness
and can impact whether a real server should run at all.
> oh well...this is probably not the hill that I'll die on
I appreciate you raising it, and I agree it's not a hill to die on.
--
Ticket URL: <https://code.djangoproject.com/ticket/36527#comment:4>
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/01070198518249f9-24d5fd43-dd47-4611-a8b0-43e744124516-000000%40eu-central-1.amazonses.com.