misc: use django-import-export >=1,<2 (#41273)
This commit is contained in:
parent
2b46edf4c5
commit
cd175c837f
|
@ -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),
|
||||
|
|
2
setup.py
2
setup.py
|
@ -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',
|
||||
|
|
|
@ -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()))
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue