class django.views.generic.edit.DeletionMixin
Enables handling of the DELETE
http action.
Methods and Attributes
-
success_url
-
The url to redirect to when the nominated object has been successfully deleted.
success_url
may contain dictionary string formatting, which will be interpolated against the object’s field attributes. For example, you could usesuccess_url="/parent/{parent_id}/"
to redirect to a URL composed out of theparent_id
field on a model.
-
get_success_url()
-
Returns the url to redirect to when the nominated object has been successfully deleted. Returns
success_url
by default.
Please login to continue.