Add dummy values to race result
All checks were successful
Build Formula10 Docker Image / build-docker (push) Successful in 20s

These columns are not marked nullable, so ignoring them prevents entering of race results
This commit is contained in:
2024-03-09 19:48:07 +01:00
parent 73273bc5cd
commit 8b2920f886
5 changed files with 48 additions and 6 deletions

View File

@ -33,16 +33,20 @@ import formula10.controller.error_controller
# TODO
# Large DB Update
# - Don't use names for frontend post requests, either use IDs or post the whole object (if its possible)...
# - Don't use names for frontend post requests, use IDs
# - For season guess calc there is missing: Fastest laps + sprint points + sprint DNFs (in race result)
# - Mask to allow changing usernames (easy if name is not used as ID)
# - Maybe even masks for races + drivers + teams?
# - DB fields for links to F1 site - NO: just hardcode them in with a dictionary
# - DB fields for qualifying dates
# Leaderboards/Points
# - Auto calculate season points (display season points in table + season guess card title?)
# Optimizations
# - Optimize PointsModel + TemplateModel. In case something is calculated often, cache it.
# - NEVER do manual DB queries, except in the DomainModel!
# General
# - Adapt diagram colors to team colors
# - Add links to the official F1 stats page (for quali/result), probably best to store entire link in DB (because they are not entirely regular)?
# - Unit testing (as much as possible, but especially points calculation)