[Fixed]-Django import-export: unexpected keyword argument

1👍

A quick look at the docs would show that your method signature is wrong…

From the docs

before_import(dataset, dry_run, **kwargs)

Your code looks like it should be

def before_import(self, dataset, dry_run, **kwargs):
👤Sayse

Leave a comment