diff --git a/app/dashboard/management/commands/cleanup_db_space.py b/app/dashboard/management/commands/cleanup_db_space.py index 05fd1599210..feb5becacfc 100644 --- a/app/dashboard/management/commands/cleanup_db_space.py +++ b/app/dashboard/management/commands/cleanup_db_space.py @@ -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}')