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
|
seasons = db.session.execute(db.select(Season)).all() # For season selector
|
||||||
|
|
||||||
# @todo
|
# @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)
|
print(races[0].raceId)
|
||||||
|
|
||||||
# results = dict()
|
# results = dict()
|
||||||
|
|||||||
2
model.py
2
model.py
@ -8,7 +8,7 @@ import re
|
|||||||
|
|
||||||
db = SQLAlchemy()
|
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):
|
def optional_date(date_string):
|
||||||
|
|||||||
Reference in New Issue
Block a user