Skip to main content

AdminErrorList

Store errors for the form/formsets in an add/change view.

Constructor

Signature

def AdminErrorList(
form: django.forms.Form,
inline_formsets: list
)

Parameters

NameTypeDescription
formdjango.forms.FormThe main form instance containing potential errors.
inline_formsetslistA list of inline formsets associated with the main form.

Signature

def AdminErrorList(
form: django.forms.Form,
inline_formsets: list
) - > null

Parameters

NameTypeDescription
formdjango.forms.FormThe main model form instance being validated in the admin view
inline_formsetslistA list of inline formsets associated with the main form to collect nested validation errors from