Compare commits
3 Commits
7277fc7b5c
...
ed7b4b1c11
Author | SHA1 | Date |
---|---|---|
Gesche | ed7b4b1c11 | |
Gesche | 401556186f | |
Gesche | 52e1600c4a |
|
@ -1,2 +1,3 @@
|
|||
*.sqlite3
|
||||
*.idea
|
||||
*.idea
|
||||
/stories/stories/settings.py
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
Django==3.1.7
|
||||
django-formtools==2.2
|
||||
mysqlclient==2.0.3
|
|
@ -27,7 +27,7 @@ class StoryRound(models.Model):
|
|||
|
||||
def next_round_ready(self) -> bool:
|
||||
for story in self.story_set.all():
|
||||
if not story.storypart_set.get(turn_number=self.current_turn).finished:
|
||||
if not story.parts.get(turn_number=self.current_turn).finished:
|
||||
return False
|
||||
return True
|
||||
|
||||
|
|
Loading…
Reference in New Issue