#19126: Allow runserver to bypass model validation
-------------------------------------+-------------------------------------
Reporter: Brendan Jurd | Owner: nobody
Type: New feature | Status: closed
Component: Core (Management | Version: master
commands) |
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by boxed):
This ticket was never fixed. The SILENCED_SYSTEM_CHECKS feature doesn't do
what you would think it does based on this discussion, and even if it did
work as the documentation says (it doesn't!) it would still be no good:
1. This ticket asked for the runserver to not die when there are
validation errors. This request was totally ignored, yet the ticket was
set to "fixed".
2. SILENCED_SYSTEM_CHECKS is a list of strings for what to disable. But
what strings are valid? If you put something invalid here it's ignored.
You have to step through the code I guess.
3. Model validation checks aren't even in the SILENCED_SYSTEM_CHECKS list
from what I can tell.
4. SILENCED_SYSTEM_CHECKS only silences the OUTPUT of the checks. If they
fail hard it still fails hard.
--
Ticket URL: <https://code.djangoproject.com/ticket/19126#comment:12>
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 on the web visit
https://groups.google.com/d/msgid/django-updates/065.3a3ef4fdb859a7dbc30468ffd60d70cf%40djangoproject.com.