Skip to content

Mixin

hypha.apply.api.v1.mixin

SubmissionNestedMixin

get_submission_object

get_submission_object()
Source code in hypha/apply/api/v1/mixin.py
def get_submission_object(self):
    return get_object_or_404(ApplicationSubmission, id=self.kwargs["submission_pk"])

InvoiceNestedMixin

get_invoice_object

get_invoice_object()
Source code in hypha/apply/api/v1/mixin.py
def get_invoice_object(self):
    return get_object_or_404(Invoice, id=self.kwargs["invoice_pk"])

ProjectNestedMixin

get_project_object

get_project_object()
Source code in hypha/apply/api/v1/mixin.py
def get_project_object(self):
    return get_object_or_404(Project, id=self.kwargs["project_pk"])