One possibility is to add a post-delete signal which listens for
instances of news items and uses the content type to clean up comments
with that content type and primary key.

I'm pretty sure this isn't considered a bug, but I couldn't address
the issue of whether it was a planned part of the design or a
necessary result of the implementation of generic foreign keys.

Shawn

-- 
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