def __init__(self, max_length=2000, form_class=None,
                 choices_form_class=None, *args, **kwargs):
        """
        :param max_length: this is the total length the string could be for all
            characters in the string. So, a field value of:

            ['hello', 'world'] == length of 18
        :param form_class: the form field class to user for this field.
        """
        if form_class:
            self.default_field_class = form_class

        if choices_form_class:
            self.choices_form_class = choices_form_class

        super(ListField, self).__init__(max_length=max_length, *args, **kwargs)
def __init__ ( self , max_length = 2000 , form_class = None , choices_form_class = None , * args , ** kwargs ) : if form_class : self . default_field_class = form_class if choices_form_class : self . choices_form_class = choices_form_class super ( ListField , self ) . __init__ ( max_length = max_length , * args , ** kwargs )
:param max_length: this is the total length the string could be for all
            characters in the string. So, a field value of:

            ['hello', 'world'] == length of 18
        :param form_class: the form field class to user for this field.