Permalink
Browse files

Fixed the way string tags are extracted from the tags that are added …

…to a document
  • Loading branch information...
1 parent 69a23d6 commit ed27b001eeca29d5e5da288ea8444e3e6bd6c999 @LucianU LucianU committed Jun 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/python/taggit/managers.py
@@ -157,7 +157,7 @@ def add(self, *tags):
str_tags = set([
t
for t in tags
- if not isinstance(t, self.through.tag_model())
+ if isinstance(t, basestring)
])
tag_objs = set(tags) - str_tags

0 comments on commit ed27b00

Please sign in to comment.