django.template.exceptions.TemplateDoesNotExist:admin/import_export/change_list_import_export.html

在使用import_export插件时出现此错误,原因是没有在设置中加入此插件,解决办法:

打开项目下的settings.py文件,找到INSTALLED_APPS项,在末尾添加'import_export' :

刷新界面,即可实现导入导出功能。 

猜你喜欢

转载自blog.csdn.net/qiujin000/article/details/131420533