Skip to content

Commit

Permalink
Add a verbose name, Django 1.2 seems to use this.
Browse files Browse the repository at this point in the history
  • Loading branch information
alex committed Feb 28, 2010
1 parent 3dbe880 commit c565907
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion taggit/managers.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ def __init__(self):


class TaggableManager(object):
def __init__(self):
def __init__(self, verbose_name="Tags"):
self.rel = TaggableRel()
self.verbose_name = verbose_name
self.editable = True
self.unique = False
self.creates_table = False
Expand Down

0 comments on commit c565907

Please sign in to comment.