Commit 6adfb70b by Alex Gaynor

A fix.

parent 3c27a56b
...@@ -148,7 +148,7 @@ class TaggableManagerTestCase(BaseTaggingTestCase): ...@@ -148,7 +148,7 @@ class TaggableManagerTestCase(BaseTaggingTestCase):
guava = self.food_model.objects.create(name="guava") guava = self.food_model.objects.create(name="guava")
self.assertEqual( self.assertEqual(
map(lambda o: o.pk, self.food_model.objects.exclude(tags__in=["red"])), map(lambda o: o.pk, self.food_model.objects.exclude(tags__name__in=["red"])),
[pear.pk, guava.pk], [pear.pk, guava.pk],
) )
......
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