#22656: Adding check for FK that blank=False when null=False
-------------------------------------+-------------------------------------
Reporter: anubhav9042 | Owner:
Type: Bug | anubhav9042
Component: Database layer | Status: assigned
(models, ORM) | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage:
Has patch: 1 | Unreviewed
Needs tests: 0 | Needs documentation: 0
Easy pickings: 0 | Patch needs improvement: 0
| UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by timo):
I'm not sure this is something we want to add as it will break backwards
compatibility. For example, "Leaving a field blank and filling it in in
the model's save() method seems to be a pretty common case" -from
[https://groups.google.com/d/msg/django-users/jqgDy4oo5ZQ/KUSz2gyJ8m0J
django-users].
--
Ticket URL: <https://code.djangoproject.com/ticket/22656#comment:3>
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/069.98900ead6b4662e93036d9974de6fa56%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.