Previosly the code catered for "has a registration of a type that's free
but it's not confirmed", but these days the zero cost registrations
*also* get the payconfirmedat flag set, so we don't need to look beyond
that.
return HttpResponse('You are not registered for this conference.')
if not r.payconfirmedat:
- if r.regtype.cost != 0:
- return HttpResponse('You are not a confirmed attendee of this conference.')
+ return HttpResponse('You are not a confirmed attendee of this conference.')
if r.canceledat:
return HttpResponse("Your registration has been canceled.")