#22656: Adding check for FK that blank=False when null=False
----------------------------------------------+--------------------
Reporter: anubhav9042 | Owner: nobody
Type: Bug | Status: new
Component: Database layer (models, ORM) | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
----------------------------------------------+--------------------
When ForeignKey is not given null=True with blank=True, there are problems
at the time of saving.
Adding a validation check enforcing that blank=False when null=False to
catch such errors/warnings and displaying appropriate message so that the
user is fully aware of the situation.
--
Ticket URL: <https://code.djangoproject.com/ticket/22656>
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/054.f6fe7e54a0aedce8d7fcf00f85653e28%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.