BaseArrayField
Overview
Base field for validating native arrays. Value validation is performed by secondary base classes.
This is related to JSON DRF handling allowing for native arrays to be validated and serialized.
ex:: class IntegerArrayField(BaseArrayField, filters.IntegerField): pass
_get_widget_class
Signature
_get_widget_class(self, widget)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| self | yes | ||
| widget | yes |
Source
server/vueda/core/fields/form.py:49
clean
Validate the given value and return its "cleaned" value as an appropriate Python object. Raise ValidationError for any errors.
Signature
clean(self, value)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| self | yes | ||
| value | yes |
Source
server/vueda/core/fields/form.py:63
base_widget_class
Source
server/vueda/core/fields/form.py:27