Skip to content

Admin views

hypha.apply.determinations.admin_views

CreateDeterminationFormView

Bases: CreateView

form_invalid

form_invalid(form)
Source code in hypha/apply/determinations/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))

EditDeterminationFormView

Bases: EditView

form_invalid

form_invalid(form)
Source code in hypha/apply/determinations/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))