Compare commits

...

3 Commits

Author SHA1 Message Date
Gesche ed7b4b1c11 fix related_name; add requirement for server 2021-05-06 00:43:48 +02:00
Gesche 401556186f add settings to gitignore 2021-05-05 23:09:23 +02:00
Gesche 52e1600c4a rename: settings -> settings_local 2021-05-05 23:08:28 +02:00
4 changed files with 4 additions and 2 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
*.sqlite3
*.idea
/stories/stories/settings.py

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