Error when using django compressor
vitormhenrique opened this issue · 1 comments
vitormhenrique commented
Describe the bug
Getting the following error when using compressor with django advanced filters:
Compressing... Error parsing template /Users/vitormhenrique/opt/anaconda3/envs/sr/lib/python3.8/site-packages/advanced_filters/templates/admin/advanced_filters.html: Invalid template name in 'extends' tag: ''. Got this from the 'original_change_list_template' variable.
To Reproduce
Using django cookiecutter with whitenoise compressor.
Steps to reproduce the behavior:
- Installed the app as described with a blank cookiecutter
- run python
manage.py collectstatic
and them runpython manage.py compress
Expected behavior
Should not get the error
Details (please complete the following information):
- OS: LINUX / MAXOS
- Python version 3.7
- Django version 3.0
vitormhenrique commented
Made a PR to fix the issue with compressor: #189