Skip to content

FormViewActionMixin

FormViewActionMixin

djadmin.actions.view_mixins.FormViewActionMixin

Mixin for actions that use FormView.

Use for actions that display and process non-model forms (plain Form, not ModelForm). For model forms, use CreateViewActionMixin or UpdateViewActionMixin instead.

Examples

class ChangeStatusAction(BulkActionMixin, FormViewActionMixin, BaseAction): form_class = StatusForm # Plain Form

Method Resolution Order

  1. djadmin.actions.view_mixins.FormViewActionMixin

Attributes

Attribute Value Defined in
base_class django.views.generic.edit.FormView djadmin.actions.view_mixins.FormViewActionMixin

Fields

Field Type Related To
__dict__ getset_descriptor -
__weakref__ getset_descriptor -