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_urlmay 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_idfield on a model.
-
get_success_url() -
Returns the url to redirect to when the nominated object has been successfully deleted. Returns
success_urlby default.
Please login to continue.