From 9079436b0092db4a7e0031c27747d97f68b0fc5b Mon Sep 17 00:00:00 2001
From: Pablo Mouzo <pablomouzo@gmail.com>
Date: Fri, 6 Sep 2013 19:07:51 -0500
Subject: [PATCH] Add docs for `response_add`, `response_change` and
 `response_delete`

---
 docs/ref/contrib/admin/index.txt | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt
index 24fdc9d539..f563a01647 100644
--- a/docs/ref/contrib/admin/index.txt
+++ b/docs/ref/contrib/admin/index.txt
@@ -1514,6 +1514,35 @@ templates used by the :class:`ModelAdmin` views:
     Returns an instance of the paginator to use for this view. By default,
     instantiates an instance of :attr:`paginator`.
 
+.. method:: ModelAdmin.response_add(self, request, obj, post_url_continue=None)
+
+    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.
+
+.. method:: ModelAdmin.response_change(self, request, obj)
+
+    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 changedn.
+
+.. method:: ModelAdmin.response_delete(self, request, obj_display)
+
+    Determines the HttpResponse for the delete_view stage.
+
+    ``response_delete`` is called after the object has been
+    deleted. You can override it to change the default
+    behavior after the object has been deleted.
+
+    ``obj_display`` is a string with the name of the deleted
+    object.
+
 Other methods
 ~~~~~~~~~~~~~