Xadmin运行报错
ImportError: cannot import name 'DEFAULT_FORMATS'
点进入报错信息的源码
注释掉代码
# from import_export.admin import DEFAULT_FORMATS, SKIP_ADMIN_LOG, TMP_STORAGE_CLASS
新添加代码
from import_export.formats.base_formats import DEFAULT_FORMATS
from import_export.admin import ImportMixin, ImportExportMixinBase
标签:xadmin,处理,DEFAULT,export,FORMATS,import,报错
From: https://www.cnblogs.com/piggthird/p/17808917.html