#1331 closed defect (fixed)
[magic-removal][patch] flatten_data method of ManyToManyField is broken with descriptor changes
| Reported by: | Owned by: | Adrian Holovaty | |
|---|---|---|---|
| Component: | Core (Other) | Version: | magic-removal |
| Severity: | normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
The flatten_data method of ManyToManyField is currently broken in magic-removal (as of r2279), as the code attempts to use an old-style get_something_list method rather than the new-style descriptor and all(). The attached patch fixes this issue.
Attachments (1)
Change History (3)
by , 20 years ago
| Attachment: | magic_removal-manytomany_flatten_data_fix.diff added |
|---|
comment:1 by , 20 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:2 by , 18 years ago
| Reporter: | changed from to |
|---|
Note:
See TracTickets
for help on using tickets.
fixes flatten_data method of ManyToManyField in magic-removal