UpdateViewActionMixin¶
UpdateViewActionMixin
¶
djadmin.actions.view_mixins.UpdateViewActionMixin
Mixin for actions that use UpdateView.
Use for actions that update existing model instances with a ModelForm. UpdateView automatically generates forms and handles saving.
Examples
class EditRecordAction(RecordActionMixin, UpdateViewActionMixin, BaseAction): pass
Method Resolution Order
djadmin.actions.view_mixins.UpdateViewActionMixin
Attributes
| Attribute | Value | Defined in |
|---|---|---|
base_class |
django.views.generic.edit.UpdateView |
djadmin.actions.view_mixins.UpdateViewActionMixin
|
Fields
| Field | Type | Related To |
|---|---|---|
__dict__ |
getset_descriptor |
- |
__weakref__ |
getset_descriptor |
- |