Reformat
This commit is contained in:
@ -33,7 +33,7 @@ def seasons(year, statistic):
|
||||
seasons = db.session.execute(db.select(Season)).all() # For season selector
|
||||
|
||||
# @todo
|
||||
races = db.session.execute(db.select(Race).where(Race.year==year)).all()
|
||||
races = db.session.execute(db.select(Race).where(Race.year == year)).all()
|
||||
print(races[0].raceId)
|
||||
|
||||
# results = dict()
|
||||
|
||||
2
model.py
2
model.py
@ -8,7 +8,7 @@ import re
|
||||
|
||||
db = SQLAlchemy()
|
||||
|
||||
# Modeling these entities separately should make it easier to add new guess categories, for example team guesses or GP guesses
|
||||
# Modeling these entities separately should make it easier to add new guess categories, e.g. team guesses or GP guesses
|
||||
|
||||
|
||||
def optional_date(date_string):
|
||||
|
||||
Reference in New Issue
Block a user