On 10/24/05, cmars232 <[EMAIL PROTECTED]> wrote:
> If I define a model with foreign keys, use MySQL/MyISAM as a backend,
> and delete a referenced object, does django implement a "cascade on
> delete" to clean up child objects, or do I need to manually clean up
> the child objects?

Yes, if you use the .delete() method on model objects, child objects
are deleted recursively.

Adrian

--
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org

Reply via email to