#9421: delete object with ManyToManyField (option through)
-----------------------+----------------------------------------------------
Reporter: anonymous | Owner: nobody
Status: new | Milestone:
Component: Forms | Version: 1.0
Keywords: | Stage: Unreviewed
Has_patch: 0 |
-----------------------+----------------------------------------------------
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.
--
Ticket URL: <http://code.djangoproject.com/ticket/9421>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---