BooleanField
Field of Model for enter boolean value.
BooleanField
¶
Bases: Field
, JsonMixin
Field of Model for enter boolean value.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
label
|
str
|
Text label for a web form field. |
''
|
default
|
bool
|
Default value. |
False
|
hide
|
bool
|
Hide field from user. |
False
|
disabled
|
bool
|
Blocks access and modification of the element. |
False
|
ignored
|
bool
|
If true, the value of this field is not saved in the database. |
False
|
hint
|
str
|
An alternative for the |
''
|
warning
|
list[str] | None
|
Warning information. |
None
|