1. django
  2. django

Commits

cla...@bcc190cf-cafb-0310-a4f2-bffc1f526a37  committed f4372bc

[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.

  • Participants
  • Parent commits 0698491
  • Branches releases/1.4.X

Comments (0)

Files changed (1)

File docs/ref/contrib/admin/index.txt

View file
 
     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