DeleteMixin

class djmvc.views.delete.DeleteMixin[source]

Bases: ActionMixin, LogMixin

Single-object and bulk delete confirmation.

permission_shortcode

Django permission prefix. Default 'delete'.

Type:

str

default_template_name

Delete confirmation template.

Type:

str

icon

Bootstrap Icons name for action buttons.

Type:

str

color

Bulma button colour modifier.

Type:

str

log_action_flag

LogEntry action flag when history is enabled.

Type:

int