@@ -0,0 +1,521 @@
+from django.core.management.base import (%0A    BaseCommand,%0A)%0A%0Afrom apps.api.models import (%0A    Contestant,%0A    Appearance,%0A    Performance,%0A)%0A%0A%0Aclass Command(BaseCommand):%0A    help = %22Command to denormailze data.%22%0A%0A    def handle(self, *args, **options):%0A        ps = Performance.objects.all()%0A        for p in ps:%0A            p.save()%0A        as_ = Appearance.objects.all()%0A        for a in as_:%0A            a.save()%0A        cs = Contestant.objects.all()%0A        for c in cs:%0A            c.save()%0A        return %22Done%22%0A

Add 'rescore' command