Skip to content

DeleteViewActionMixin

DeleteViewActionMixin

djadmin.actions.view_mixins.DeleteViewActionMixin

Mixin for actions that use DeleteView.

Use for actions that delete model instances with confirmation. DeleteView automatically handles GET (show confirmation) and POST (delete).

Examples

class DeleteRecordAction(RecordActionMixin, DeleteViewActionMixin, BaseAction): pass

Method Resolution Order

  1. djadmin.actions.view_mixins.DeleteViewActionMixin

Attributes

Attribute Value Defined in
base_class django.views.generic.edit.DeleteView djadmin.actions.view_mixins.DeleteViewActionMixin

Fields

Field Type Related To
__dict__ getset_descriptor -
__weakref__ getset_descriptor -