Skip to content

Error when using django compressor #149

@vitormhenrique

Description

@vitormhenrique

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions