Opened 17 years ago
Closed 12 years ago
#9421 closed Bug (fixed)
delete object with ManyToManyField (option through)
| Reported by: | anonymous | Owned by: | nobody |
|---|---|---|---|
| Component: | Forms | Version: | 1.0 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
I have a Model like this
class A(models.Model):
class B(models.Model):
m2m = models.ManyToManyField(A, through='C')
class C(models.Model):
when I delete an object of class A with admin interface it tells me that it delete objects of class C with a reference with this object of class A.
But in reality it not delete the object.
I suppose there is a bug with intermediate table and option "through" in delete operation.
Thanks.
Change History (6)
comment:1 by , 17 years ago
| Triage Stage: | Unreviewed → Accepted |
|---|
comment:2 by , 15 years ago
| Severity: | → Normal |
|---|---|
| Type: | → Bug |
comment:3 by , 14 years ago
| UI/UX: | unset |
|---|
Note:
See TracTickets
for help on using tickets.
Change UI/UX from NULL to False.