mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
Fixing text flow around changes from review.
This commit is contained in:
parent
b8935b58f7
commit
3cfc526b87
@ -54,12 +54,11 @@ produced can be controlled by setting metadata options as attributes of an inner
|
|||||||
|
|
||||||
:attr:`~ModelFormOptions.model` is required as well as either
|
:attr:`~ModelFormOptions.model` is required as well as either
|
||||||
:attr:`~ModelFormOptions.fields` or :attr:`~ModelFormOptions.exclude`.
|
:attr:`~ModelFormOptions.fields` or :attr:`~ModelFormOptions.exclude`.
|
||||||
All other ``Meta`` attributes are optional.
|
All other ``Meta`` attributes are optional. Included fields need not be
|
||||||
each ``Meta`` class, nor does every included field need to be included in every
|
included in every option used. If an option isn't set, or if a model's
|
||||||
option used. If an option isn't set, or if a model's field isn't used with a
|
field isn't used with a particular option, Django will fall back on whatever
|
||||||
particular option, Django will fall back on whatever has already been defined
|
has already been defined for a field in their model or whatever defaults
|
||||||
for a field in their model or whatever defaults might exist for that field's
|
might exist for that field's type.
|
||||||
type.
|
|
||||||
|
|
||||||
Optional ``Meta`` attributes, other than
|
Optional ``Meta`` attributes, other than
|
||||||
:attr:`~ModelFormOptions.localized_fields` and
|
:attr:`~ModelFormOptions.localized_fields` and
|
||||||
|
Loading…
Reference in New Issue
Block a user