Commit 345554b9 by Alex Gaynor

kill some dead code

parent 386c06af
......@@ -50,8 +50,6 @@ class TaggableManager(object):
def get_db_prep_lookup(self, lookup_type, value):
if lookup_type != "in":
raise ValueError("You can't do lookups other than \"in\" on Tags")
if lookup_type == "exact":
value = [value]
if all(isinstance(v, Tag) for v in value):
qs = TaggedItem.objects.filter(tag__in=value)
elif all(isinstance(v, basestring) for v in value):
......
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