null=True should imply blank=True
|Reported by:||Chris Beaven||Owned by:||nobody|
|Component:||Database layer (models, ORM)||Version:||master|
|Cc:||Triage Stage:||Design decision needed|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
For models, I can't ever think of a case when you would want
null=True and not want
blank=True. If there is, it's definitely rare, so having to enter both for the normal case seems redundant.
Currently, for model fields,
blank always defaults to
This proposal is that
blank is set to whatever
null is set to unless explicitly given.