Browse files

Fixed #18156 -- Updated signature of ModelAdmin change_view in docs t…

…o reflect r17466. Thanks arthurprat for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17918 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent d5b93d3 commit 3d5d0be49920bfdfe501570f38c4c9ea6d05a5f5 @claudep claudep committed Apr 20, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 docs/ref/contrib/admin/index.txt
View
6 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

0 comments on commit 3d5d0be

Please sign in to comment.