1
0
mirror of https://github.com/django/django.git synced 2025-07-09 20:29:12 +00:00

[4.0.x] Fixed typo in docs/ref/contrib/admin/index.txt.

Backport of 367d6920ece44639e54650d9a98f8c24e10f7229 from main
This commit is contained in:
Scott Pashley 2022-01-12 06:44:45 +00:00 committed by Mariusz Felisiak
parent 89d88414dc
commit 92e1018178

View File

@ -2111,7 +2111,7 @@ templates used by the :class:`ModelAdmin` views:
'form_kwargs': {'request': request}, 'form_kwargs': {'request': request},
} }
You can also used it to set ``initial`` for formset forms. You can also use it to set ``initial`` for formset forms.
.. method:: ModelAdmin.get_changeform_initial_data(request) .. method:: ModelAdmin.get_changeform_initial_data(request)