Hi, I'm trying to delete all entries in a model. However, when I attempt to do so by calling `Comment.objects.all().delete()`, I get an error saying `AttributeError: 'ReverseSingleRelatedObjectDescriptor' object has no attribute 'delete_manager'`. What am I doing wrong?
Full stacktrace: >>> Comment.objects.all().delete() Traceback (most recent call last): File "<console>", line 1, in <module> File "/home/jeff/.virtualenvs/osl_main-website/lib/python2.6/site- packages/django/db/models/query.py", line 441, in delete obj._collect_sub_objects(seen_objs) File "/home/jeff/.virtualenvs/osl_main-website/lib/python2.6/site- packages/django/db/models/base.py", line 569, in _collect_sub_objects sub_obj._collect_sub_objects(seen_objs, self, related.field.null) File "/home/jeff/.virtualenvs/osl_main-website/lib/python2.6/site- packages/django/db/models/base.py", line 585, in _collect_sub_objects delete_qs = rel_descriptor.delete_manager(self).all() AttributeError: 'ReverseSingleRelatedObjectDescriptor' object has no attribute 'delete_manager' -- 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.