Permalink
Browse files

Bag’s unicode method was referring to nonexistent label

  • Loading branch information...
1 parent d366c0f commit dbe4522532cc8d88f2f870f0b0677b9f5eecd7d7 @pdc committed Apr 20, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 kanboapps/stories/models.py
@@ -92,7 +92,7 @@ class Bag(models.Model):
name = models.SlugField(max_length=200)
def __unicode__(self):
- return self.label
+ return self.name
class Tag(models.Model):
@@ -143,6 +143,7 @@ def replace_tags(self, axes, tags):
for tag in tags:
self.tag_set.add(tag)
+
class CyclesException(Exception):
pass

0 comments on commit dbe4522

Please sign in to comment.