Migrating from python 3.5 to 3.6, my unit tests reveal a problem with django-import-export & tablib:
TypeError: cell() missing 1 required positional argument: 'column'
File "<path>/lib/python3.6/site-packages/tablib/formats/_xlsx.py", line 122, in dset_sheet
cell = ws.cell('%s%s' % (col_idx, row_number))
TypeError: cell() missing 1 required positional argument: 'column'
The line in tablib:
cell = ws.cell('%s%s' % (col_idx, row_number))
So indeed, there is no argument for the column
My view code:
my_resource = MyModelResource(queryset=my_queryset)
dataset = my_resource.export()
response = HttpResponse(dataset.xlsx, content_type='application/vnd.ms-excel')
This works fine in python3.5 but fails under 3.6
requirements.txt:
...
tablib==0.12.1
django-import-export==0.7.0
Django==1.11.7
...