1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #35831 -- Documented the model form meta API in model form reference docs.

Co-authored-by: Jonathan <3218047+jernwerber@users.noreply.github.com>
Co-authored-by: Mustafa <117516335+mspirbhai@users.noreply.github.com>
This commit is contained in:
Mustafa Pirbhai
2025-08-27 14:07:42 +03:00
committed by Sarah Boyce
parent eaaf01c96a
commit 183fcebf88
2 changed files with 187 additions and 10 deletions

View File

@@ -38,6 +38,8 @@ For example:
>>> article = Article.objects.get(pk=1)
>>> form = ArticleForm(instance=article)
.. _model-form-field-types:
Field types
-----------
@@ -683,6 +685,8 @@ the field declaratively and setting its ``validators`` parameter::
See the :doc:`form field documentation </ref/forms/fields>` for more
information on fields and their arguments.
.. _modelforms-enabling-localization-of-fields:
Enabling localization of fields
-------------------------------