@@ -0,0 +1,486 @@
+from django.core.management.base import BaseCommand, CommandError%0A%0Afrom ...utils import get_variant%0A%0Aclass Command(BaseCommand):%0A    USAGE = %22%3Capp_label%3E %3Cmodel%3E %3Cfield%3E %3Cvariant%3E%22%0A%0A    def handle(self, *args, **options):%0A        try:%0A            app_label, model_name, field_name, variant_name = args%0A        except ValueError:%0A            raise CommandError(self.USAGE)%0A%0A        variant = get_variant(app_label, model_name, field_name, variant_name)%0A%0A        variant.invalidate_all()%0A

Add command to invalidate all of a particular variant.