<|file_name|>cleanup_addon_premium.py<|end_file_name|><｜fim▁begin｜>from django.core.management.base import BaseCommand

import amo
from mkt.webapps.models import AddonPremium


class Command(BaseCommand):
    <|fim_middle|>

<｜fim▁end｜>
    help = 'Clean up existing AddonPremium objects for free apps.'

    def handle(self, *args, **options):
        (AddonPremium.objects.filter(addon__premium_type__in=amo.ADDON_FREES)
                             .delete())