Compare commits
No commits in common. "ed7b4b1c110530ff689fd3cc690e37be766c6124" and "7277fc7b5cff3f77e007a18b2502f3490d2607d3" have entirely different histories.
ed7b4b1c11
...
7277fc7b5c
|
@ -1,3 +1,2 @@
|
||||||
*.sqlite3
|
*.sqlite3
|
||||||
*.idea
|
*.idea
|
||||||
/stories/stories/settings.py
|
|
|
@ -1,3 +1,2 @@
|
||||||
Django==3.1.7
|
Django==3.1.7
|
||||||
django-formtools==2.2
|
django-formtools==2.2
|
||||||
mysqlclient==2.0.3
|
|
|
@ -27,7 +27,7 @@ class StoryRound(models.Model):
|
||||||
|
|
||||||
def next_round_ready(self) -> bool:
|
def next_round_ready(self) -> bool:
|
||||||
for story in self.story_set.all():
|
for story in self.story_set.all():
|
||||||
if not story.parts.get(turn_number=self.current_turn).finished:
|
if not story.storypart_set.get(turn_number=self.current_turn).finished:
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue