Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.04 KB

delete-view.rst

File metadata and controls

39 lines (25 loc) · 1.04 KB

Delete View

pyramid_views.views.edit

DeleteView

success_url

The URL to redirect to upon successful deletion.

model

The model of which an instance will be deleted.

query

Limit deletion to only objects provided by query. If you specify this then you can omit model.

get_query

get_object

slug_field

get_slug_field

slug_url_kwarg

pk_url_kwarg

template_name

content_type

get_context_data

macro_names

get_macro_names

get

post