Fixed typo in method name
This commit is contained in:
parent
44d0ea6f2b
commit
3ade1c5516
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue