class documentation

class SimpleArrayField(forms.CharField):

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method clean Validate the given value and return its "cleaned" value as an appropriate Python object. Raise ValidationError for any errors.
Method has​_changed Return True if data differs from initial.
Method prepare​_value Undocumented
Method run​_validators Undocumented
Method to​_python Return a string.
Method validate Undocumented
Class Variable default​_error​_messages Undocumented
Instance Variable base​_field Undocumented
Instance Variable delimiter Undocumented
Instance Variable max​_length Undocumented
Instance Variable min​_length Undocumented

Inherited from CharField:

Method widget​_attrs Given a Widget instance (not a Widget class), return a dictionary of any HTML attributes that should be added to the Widget, based on this Field.
Instance Variable empty​_value Undocumented
Instance Variable strip Undocumented

Inherited from Field (via CharField):

Method __deepcopy__ Undocumented
Method bound​_data Return the value that should be shown for this field on render of a bound form, given the submitted POST data for the field and the initial data, if any.
Method get​_bound​_field Return a BoundField instance that will be used when accessing the form field in a template.
Class Variable default​_validators Undocumented
Class Variable empty​_values Undocumented
Instance Variable disabled Undocumented
Instance Variable error​_messages Undocumented
Instance Variable help​_text Undocumented
Instance Variable initial Undocumented
Instance Variable label Undocumented
Instance Variable label​_suffix Undocumented
Instance Variable localize Undocumented
Instance Variable required Undocumented
Instance Variable show​_hidden​_initial Undocumented
Instance Variable validators Undocumented
Instance Variable widget Undocumented
def __init__(self, base_field, *, delimiter=',', max_length=None, min_length=None, **kwargs):
def clean(self, value):
Validate the given value and return its "cleaned" value as an appropriate Python object. Raise ValidationError for any errors.
def has_changed(self, initial, data):
Return True if data differs from initial.
def prepare_value(self, value):
def run_validators(self, value):
def to_python(self, value):
Return a string.
def validate(self, value):

Undocumented

default_error_messages =
base_field =

Undocumented

delimiter =

Undocumented

max_length =
min_length =