<gh_stars>10-100

import smart_imports

smart_imports.all()


class Command(utilities_base.Command):

    help = 'Reset free quests amount for clans'

    LOCKS = ['game_commands']

    def _handle(self, *args, **options):
        for clan_id in models.Clan.objects.values_list('id', flat=True):
            logic.reset_free_quests(clan_id=clan_id)
