admin.ModelAdmin.response_add()

ModelAdmin.response_add(request, obj, post_url_continue=None) [source]

Determines the HttpResponse for the add_view() stage.

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

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

Please login to continue.