[patch] ManyToManyField pointing at a model that contains a OneToOneField is broken
If you have a ManyToManyField pointing at a model that uses a OneToOneField, then the model with the OneToOneField has no attribute "id" which causes the code in method_set_many_to_many to fail due to it relying on the presence of an attribute "id".
Luminosity helped figure out the correct fix and I will attach the patch that fixes the problem.
Change History
(5)
Summary: |
ManyToManyField pointing at a model that contains a OneToOneField is broken → [patch] ManyToManyField pointing at a model that contains a OneToOneField is broken
|
Owner: |
changed from Adrian Holovaty to Malcolm Tredinnick
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
Fix!