add in html pages for season and episode, baseline zero css

This commit is contained in:
Xevion
2020-01-20 18:47:45 -06:00
parent 0dca7f2a02
commit a15a2b3344
6 changed files with 38 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ class Season(db.Model):
@property
def episodes(self):
"""returns a List of Episodes under this Season"""
return Episode.query.filter_by(season_id=self.id).all().sort(key=lambda ep : ep.number)
return Episode.query.filter_by(season_id=self.id).all()
@property
def characters(self, sort):