Skip to content

Commit

Permalink
Updated for new version of taggit
Browse files Browse the repository at this point in the history
  • Loading branch information
coordt committed Apr 22, 2015
1 parent 022363d commit a4bf807
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion concepts/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
'minor': 6,
'micro': 0,
'releaselevel': 'beta',
'serial': 2
'serial': 3
}


Expand Down
7 changes: 3 additions & 4 deletions concepts/managers.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@
except ImportError:
pass


class ConceptManager(TaggableManager):
def __init__(self, verbose_name=_("Concepts"),
help_text=_("Press return to complete each tag."),
through=ConceptItem, blank=False):
super(ConceptManager, self).__init__(verbose_name, help_text, through, blank)
def __init__(self, verbose_name=_("Concepts"), help_text=_("Press return to complete each tag."), through=ConceptItem, **kwargs):
super(ConceptManager, self).__init__(verbose_name, help_text, through, **kwargs)

def extra_filters(self, pieces, pos, negate):
if negate or not self.use_gfk:
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
django-taggit>0.9.3
django-taggit>=0.13

0 comments on commit a4bf807

Please sign in to comment.