[patch] ManyToManyField with blank=True errors out when the field is blank
|Reported by:||rayners@…||Owned by:||adrian|
|Component:||Database layer (models, ORM)||Version:||master|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I have a ManyToManyField with blank=True in a model that is in being edited inline, and whenever I add a new item with a blank entry in that field, I would receive an error about missing set_fieldname.
So I threw together a quick patch and it is working for me currently. This is my first stab at working with Django, so the logic may be a bit off.
Change History (3)
Changed 10 years ago by rayners@…
comment:1 Changed 10 years ago by rayners@…
- Summary changed from ManyToManyField with blank does errors out when the field is blank to [patch] ManyToManyField with blank=True errors out when the field is blank