misc: use django-import-export >=1,<2 (#41273)

This commit is contained in:
Benjamin Dauvergne 2020-04-02 16:24:15 +02:00
parent 2b46edf4c5
commit cd175c837f
3 changed files with 4 additions and 4 deletions

4
debian/control vendored
View File

@ -20,8 +20,8 @@ Depends: ${misc:Depends}, ${python:Depends},
python-django-select2 (>= 5),
python-gadjo (>= 0.53),
python-django-tables2 (>= 1),
python-django-import-export (>= 0.2.7),
python-django-import-export (<= 0.4.5),
python-django-import-export (>= 1),
python-django-import-export (< 2),
python-djangorestframework (>= 3.3),
python-markdown (>= 2.1),
python-ldap (>= 2.4),

View File

@ -124,7 +124,7 @@ setup(name="authentic2",
'django-tables2>=1.0,<2.0',
'django-ratelimit',
'gadjo>=0.53',
'django-import-export>=0.2.7,<=0.4.5',
'django-import-export>=1,<2',
'djangorestframework>=3.3,<3.5',
'six>=1',
'Markdown>=2.1',

View File

@ -30,7 +30,7 @@ class ListWidget(Widget):
def clean(self, value):
raise NotImplementedError
def render(self, value):
def render(self, value, object):
return u', '.join(map(six.text_type, value.all()))