On Jun 11, 8:08 am, Francis <lav.fran...@gmail.com> wrote:
> Is it possible to disable recursive delete?
>
> Because I have some pages models that has a m2m relationship with an
> image/video table. But if I delete an image, I don't want it to also
> delete the page.

I don't think recursive delete is enabled in m2m relationships, just
in foreign key relationships. In m2m relationships, the only thing
that should be deleted is the records in the join table, but not in
the target or source tables.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to