Skip to content

CreateViewActionMixin

CreateViewActionMixin

djadmin.actions.view_mixins.CreateViewActionMixin

Mixin for actions that use CreateView.

Use for actions that create new model instances with a ModelForm. CreateView automatically generates forms and handles saving.

Examples

class AddAction(GeneralActionMixin, CreateViewActionMixin, BaseAction): pass

Method Resolution Order

  1. djadmin.actions.view_mixins.CreateViewActionMixin

Attributes

Attribute Value Defined in
base_class django.views.generic.edit.CreateView djadmin.actions.view_mixins.CreateViewActionMixin

Fields

Field Type Related To
__dict__ getset_descriptor -
__weakref__ getset_descriptor -