Chunk responses

This commit is contained in:
James Polley 2018-01-18 20:56:59 +11:00
parent dc6b7f43ef
commit ae33da0de4

View file

@ -246,6 +246,7 @@ def boarding_send(request):
template_pk = request.session['template']
template = BoardingPassTemplate.objects.get(pk=template_pk)
i = 0
for attendee in attendees:
try:
@ -274,4 +275,8 @@ def boarding_send(request):
request.session['boarding_attendees'].remove(attendee.pk)
i += 1
if i == 10:
return redirect("regidesk:boarding_send")
return redirect("regidesk:boarding_overview")