Find the right sponsors.
This commit is contained in:
parent
74a9e9df71
commit
2751b92cb8
|
@ -21,7 +21,7 @@ class Command(BaseCommand):
|
||||||
|
|
||||||
def handle(self, *args, **options):
|
def handle(self, *args, **options):
|
||||||
camp = Camp.objects.get(slug=options["camp_slug"])
|
camp = Camp.objects.get(slug=options["camp_slug"])
|
||||||
sponsors = Sponsor.objects.filter(tier__camp=camp, tickets_generated=False)
|
sponsors = Sponsor.objects.filter(tier__camp=camp, tickets_generated=True)
|
||||||
|
|
||||||
for sponsor in sponsors:
|
for sponsor in sponsors:
|
||||||
if (
|
if (
|
||||||
|
|
Loading…
Reference in a new issue