Commit 5ee280a9 by Alex Gaynor

No need to incude any objects, they cascade naturally.

parent f2b899f6
...@@ -131,9 +131,7 @@ class TaggableManager(RelatedField): ...@@ -131,9 +131,7 @@ class TaggableManager(RelatedField):
return [("%s__content_type__in" % prefix, cts)] return [("%s__content_type__in" % prefix, cts)]
def bulk_related_objects(self, new_objs, using): def bulk_related_objects(self, new_objs, using):
return self.through._base_manager.db_manager(using).filter( return []
**self.through.bulk_lookup_kwargs(new_objs)
)
class _TaggableManager(models.Manager): class _TaggableManager(models.Manager):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment