diff --git a/tipp/views.py b/tipp/views.py index 2f1a4f6..9c66bb4 100644 --- a/tipp/views.py +++ b/tipp/views.py @@ -224,11 +224,12 @@ def update(request, ls, season, cur_md): m = Match(matchID=unicode(match['matchID']), + matchDateTime=match['matchDateTime'], pointsTeam1=pointsTeam1, pointsTeam2=pointsTeam2, finished=bool(match['matchIsFinished']), ) - m.save(update_fields=['pointsTeam1', 'pointsTeam2', 'finished']) + m.save(update_fields=['matchDateTime', 'pointsTeam1', 'pointsTeam2', 'finished']) pointsTeam1=-1 pointsTeam2=-1