@@ -0,0 +1,636 @@
+from datetime import date%0A%0Afrom django.core.management.base import BaseCommand, CommandError%0A%0A%0A%0Afrom summary_data.utils.summary_utils import update_committee_times%0Afrom summary_data.models import Committee_Overlay%0A%0A%0Aclass Command(BaseCommand):%0A    help = %22Redo the summaries of *all committees* - not just those that need it%22%0A    requires_model_validation = False%0A    %0A    def handle(self, *args, **options):%0A        all_committees = Committee_Overlay.objects.filter(is_dirty=True)%0A        for committee in all_committees:%0A            update_committee_times(committee)%0A            committee.is_dirty=False%0A            committee.save()%0A%0A

add command to only summarize dirty committees