code: def get_prep_value(self, value):
          
          if value and not isinstance(value, list):
              raise ValidationError(u'ListField value {} is not a list.'.format(value))
          return json.dumps(self.validate_list(value) or [])
docs: Converts a list to its json representation to store in database as text.