mirror of
https://github.com/jazzband/django-eav2.git
synced 2026-04-25 17:34:44 +00:00
fix max_length
This commit is contained in:
parent
3f5aa35dd7
commit
198911582a
1 changed files with 4 additions and 0 deletions
|
|
@ -23,6 +23,10 @@ class CSVFormField(forms.Field):
|
|||
widget = CSVWidget
|
||||
default_separator = ";"
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
kwargs.pop('max_length', None)
|
||||
super().__init__(*args, **kwargs)
|
||||
|
||||
def to_python(self, value):
|
||||
if not value:
|
||||
return []
|
||||
|
|
|
|||
Loading…
Reference in a new issue