#1489 closed defect (fixed)
[magic-removal][patch] Deleting objects with one-to-one relations broken in admin
| Reported by: | Owned by: | Adrian Holovaty | |
|---|---|---|---|
| Component: | contrib.admin | 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
Due to it trying obj.get_${accessor-name} instead of just obj.${accessor_name}
Attachments (2)
Change History (5)
by , 20 years ago
| Attachment: | django_1489.diff added |
|---|
comment:1 by , 20 years ago
| Summary: | [patch] Deleting objects with one-to-one relations broken in admin → [magic-removal][patch] Deleting objects with one-to-one relations broken in admin |
|---|
comment:2 by , 20 years ago
There was a stupid mistake in the first patch (trying to call the one-to-one accessor), which is now fixed.
comment:3 by , 20 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fix deletion of objects with one-to-one relations