New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TemplateDoesNotExist error due to django.template.loaders.eggs.Loader being deprecated #548
Comments
Adding a example of exception message to make this little easier to google:
|
any fix? |
You need to include 'import_export' in your 'INSTALLED_APPS' in |
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 |
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; usingpython setup.py develop
on a dependant package)django-import-export
gets installed as a zipped egg file which results into aTemplateDoesNotExist
unlessdjango.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?The text was updated successfully, but these errors were encountered: