class ImportExportAdsTypeResource(resources.ModelResource):
    categories = fields.Field(widget=ManyToManyWidget(Category))
sites = fields.Field(widget=ManyToManyWidget(Site))
import m2m relation in django-import-export