summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2012-04-20 13:01:04 +0000
committerClaude Paroz <claude@2xlibre.net>2012-04-20 13:01:04 +0000
commit143305126b9ec3f6b7771d10f0642ed3f3f6a3bd (patch)
tree5918dcd39252b74d19e89c31d4a887889c82c6e2 /docs/ref
parent64bbf5187c6e56c62ef9028fa72695bbf8b4e14a (diff)
[1.4.X] Fixed #18156 -- Updated signature of ModelAdmin change_view in docs to reflect r17466. Thanks arthurprat for the report.
Backport of r17918 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.4.X@17919 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/contrib/admin/index.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt
index 3c94150651..1163a5b87e 100644
--- a/docs/ref/contrib/admin/index.txt
+++ b/docs/ref/contrib/admin/index.txt
@@ -1240,10 +1240,14 @@ Other methods
Django view for the model instance addition page. See note below.
-.. method:: ModelAdmin.change_view(self, request, object_id, extra_context=None)
+.. method:: ModelAdmin.change_view(self, request, object_id, form_url='', extra_context=None)
Django view for the model instance edition page. See note below.
+ .. versionchanged:: 1.4
+
+ The ``form_url`` parameter was added.
+
.. method:: ModelAdmin.changelist_view(self, request, extra_context=None)
Django view for the model instances change list/actions page. See note