Fixed typo in method name

This commit is contained in:
Brian Rosner 2012-08-30 01:04:08 -06:00
parent 44d0ea6f2b
commit 3ade1c5516

View file

@ -49,7 +49,7 @@ class Slot(models.Model):
attr = "_rooms"
if not hasattr(self, attr):
class RoomInlineSet(InlineSet):
def consective_count(self):
def consecutive_count(self):
return len(self)
value = RoomInlineSet(obj=self, field="room_set", delimiter=" ")
setattr(self, attr, value)