Skip to content

Commit

Permalink
keep weekly leaderboard rank info
Browse files Browse the repository at this point in the history
  • Loading branch information
owocki committed Aug 1, 2019
1 parent d417243 commit a6ffe32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/dashboard/management/commands/cleanup_db_space.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,5 @@ def handle(self, *args, **options):

result = LeaderboardRank.objects.filter(
created_on__lt=self.get_then(14),
).delete()
).exclude(created_on__week_day=2).delete()
print(f'LeaderboardRank: {result}')

0 comments on commit a6ffe32

Please sign in to comment.