#25417: Add a system check for an invalid default on a model field
-------------------------------------+-------------------------------------
Reporter: avorio | Owner: charettes
Type: New feature | Status: new
Component: Core (System | Version: master
checks) |
Severity: Normal | Resolution:
Keywords: decimal, | Triage Stage: Ready for
InvalidOperation, migrations | checkin
Has patch: 1 | Needs documentation: 1
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by timgraham):
Thanks for the raising the issue. I figured there would probably be some
use case where this check would cause problems, however, I don't think
it's very common to intentionally create models that don't validate. Do
you have any problem adding this check to `SILENCED_SYSTEM_CHECKS`? We
could downgrade the check from "error" to "warning" or discuss it further
on the DevelopersMailingList.
--
Ticket URL: <https://code.djangoproject.com/ticket/25417#comment:16>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/064.53759a1b1ad21cadbc7a1d1f9bfb4a0b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.