diff --git a/src/sponsors/management/commands/generate_sponsor_tickets.py b/src/sponsors/management/commands/generate_sponsor_tickets.py index 4511250c..cecbb601 100644 --- a/src/sponsors/management/commands/generate_sponsor_tickets.py +++ b/src/sponsors/management/commands/generate_sponsor_tickets.py @@ -34,5 +34,8 @@ class Command(BaseCommand): ticket.save() ticket.generate_pdf() self.output("- {}_ticket_{}.pdf".format(ticket.shortname, ticket.pk)) + sponsor.tickets_generated = True + sponsor.save() else: self.output("{} is in tier {}, which has no tickets set.".format(sponsor, sponsor.tier)) +