formula
formula copied to clipboard
Fix order drivers by total wins issue
I will open PR for fix this issue and check if is the correct solution
Race has field called "winner" which is FK to Driver so you can access all races which were won by driver by .race_set from driver instance. Sound complicated but hopefully it makes sense :-)