If Django comments are attached to a record (like a news item) and
that item is deleted, the comment remains in the database. In other
words, comments don't get cascade delete treatment like foreign key
relationships do. This leads to A) database clutter and B) breakage
when you do things like loop through comments, linking to the
associated content object (which no longer exists).

Is this expected behavior, or a bug? It seems out of keeping with the
"usual way" of doing things in Django.

Anyone have recommended techniques for dealing with this?

Thanks,
Scot

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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