Since Django 1.9 the django.template.loaders.eggs.Loader has been deprecated and it looks like it is not among the default template loaders in Django 1.10.
When installing django-import-export as a dependancy of another package (example; using python setup.py develop on a dependant package) django-import-export gets installed as a zipped egg file which results into a TemplateDoesNotExist unless django.template.loaders.eggs.Loader is added to settings manually.
Will it be useful adding zip_safe = False in setup.py (or something similar) in order to discourage installation of django-import-export as a zipped egg?
Adding a example of exception message to make this little easier to google:
TemplateDoesNotExist: admin/import_export/change_list_import.html
any fix?
You need to include 'import_export' in your 'INSTALLED_APPS' in settings.py
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I'm having the same problem. Working locally but broken in production.
Django==1.11.29
django-import-export==1.2.0
Most helpful comment
You need to include 'import_export' in your 'INSTALLED_APPS' in
settings.py