def handle(self, *args, **options): for account_id in INTERESTED_ACCOUNTS_IDS.value(): a = Account.objects.get(account_id=account_id) download_games(a)
def matches_download_required(self, value): if value: from core.parameters import INTERESTED_ACCOUNTS_IDS INTERESTED_ACCOUNTS_IDS.add_value(self.account_id) self._matches_download_required = value