diff options
author | emkael <emkael@tlen.pl> | 2014-11-12 11:32:19 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2014-11-12 11:32:19 +0100 |
commit | 0253320c01ff18eab97cde0bc74e13184a8a7487 (patch) | |
tree | 136e13445c3af3a8ccfcd6cb481fdf5387cadee5 /f1elo/model.py | |
parent | aa6cee0ad6bbe52b076c2a215e4b1c6fc9d1e0dd (diff) |
* race and rating chronology disambiguation (+documentation)
Diffstat (limited to 'f1elo/model.py')
-rw-r--r-- | f1elo/model.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/f1elo/model.py b/f1elo/model.py index 33e60ac..cb78d1a 100644 --- a/f1elo/model.py +++ b/f1elo/model.py @@ -15,7 +15,7 @@ class Driver(Base): rankings = relationship( 'Ranking', - order_by='Ranking.rank_date', + order_by='Ranking.rank_date,Ranking.id', back_populates='driver', cascade="all", passive_deletes=True) |