FormAutoConfig¶
Base class: AutoConfig
Refinable members¶
default_included
exclude
A list of attribute names to exclude, use
__
to drill down to nested attributes. Example:['album', 'album__year']
include
A list of attribute names to include, use
__
to drill down to nested attributes. Example:['album', 'album__year']
instance
An instance of a Django model. If this field is specified, the
model
attribute will be automatically derived. This cannot be a callable, in that case setmodel
and useinstance=lambda...
instead ofauto__instance
.
model
(evaluated)A Django model class
Type:
Type[django.db.models.base.Model]
type