Fixed typo in docs/ref/contrib/admin/index.txt.

This commit is contained in:
Scott Pashley 2022-01-12 06:44:45 +00:00 committed by GitHub
parent 658dc7045a
commit 367d6920ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1947,7 +1947,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)