[patch] ManyToManyField with blank=True errors out when the field is blank
|Reported by:||Owned by:||Adrian Holovaty|
|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)
comment:1 Changed 11 years ago by
|Summary:||ManyToManyField with blank does errors out when the field is blank → [patch] ManyToManyField with blank=True errors out when the field is blank|