Skip to content

Commit

Permalink
Bag’s unicode method was referring to nonexistent label
Browse files Browse the repository at this point in the history
  • Loading branch information
pdc committed Apr 20, 2012
1 parent d366c0f commit dbe4522
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kanboapps/stories/models.py
Expand Up @@ -92,7 +92,7 @@ class Bag(models.Model):
name = models.SlugField(max_length=200) name = models.SlugField(max_length=200)


def __unicode__(self): def __unicode__(self):
return self.label return self.name




class Tag(models.Model): class Tag(models.Model):
Expand Down Expand Up @@ -143,6 +143,7 @@ def replace_tags(self, axes, tags):
for tag in tags: for tag in tags:
self.tag_set.add(tag) self.tag_set.add(tag)



class CyclesException(Exception): class CyclesException(Exception):
pass pass


Expand Down

0 comments on commit dbe4522

Please sign in to comment.