fix related_name; add requirement for server

This commit is contained in:
Gesche 2021-05-06 00:43:48 +02:00
parent 401556186f
commit ed7b4b1c11
2 changed files with 2 additions and 1 deletions

View File

@ -1,2 +1,3 @@
Django==3.1.7
django-formtools==2.2
mysqlclient==2.0.3

View File

@ -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