def test(request): api = WaiversApi() print api.testConnection() return HttpResponse()
def getRefundList(self): api = WaiversApi() fee_ids = self.event.fee_ids.split(',') for id in fee_ids: students = set(api.getWaiverList(int(id))) self.refund_set.update(students)