Skip to content

Admin views

hypha.apply.projects.admin_views

CreateProjectFormView

Bases: CreateView

form_invalid

form_invalid(form)
Source code in hypha/apply/projects/admin_views.py
7
8
9
def form_invalid(self, form):
    show_admin_form_error_messages(self.request, form)
    return self.render_to_response(self.get_context_data(form=form))

EditProjectFormView

Bases: EditView

form_invalid

form_invalid(form)
Source code in hypha/apply/projects/admin_views.py
def form_invalid(self, form):
    show_admin_form_error_messages(self.request, form)
    return self.render_to_response(self.get_context_data(form=form))

CreateProjectSOWFormView

EditProjectSOWFormView

CreateProjectReportFormView

EditProjectReportFormView