Skip to content
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

Error when using django compressor #149

Open
vitormhenrique opened this issue Jul 27, 2021 · 1 comment · Fixed by #189
Open

Error when using django compressor #149

vitormhenrique opened this issue Jul 27, 2021 · 1 comment · Fixed by #189

Comments

@vitormhenrique
Copy link
Contributor

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:

  1. Installed the app as described with a blank cookiecutter
  2. run python manage.py collectstatic and them run python 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
Copy link
Contributor Author

Made a PR to fix the issue with compressor: #189

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant