admin.ModelAdmin.response_change()

ModelAdmin.response_change(request, obj) [source]

Determines the HttpResponse for the change_view() stage.

response_change is called after the admin form is submitted and just after the object and all the related instances have been saved. You can override it to change the default behavior after the object has been changed.

doc_Django
2016-10-09 18:33:54
Comments
Leave a Comment

Please login to continue.