Skip to content

Django Compress causes errors #188

Open
@RumitAP

Description

@RumitAP

When I try to compress my project down, the static files within the django-advanced-filters causes errors.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the root of external project in terminal
  2. python manage.py collectstatic
  3. python manage.py compress --force
  4. See error
Error parsing template /home/rap/.local/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.
done

Expected behavior
It should be able to compress these files down.

Details (please complete the following information):

  • OS: Ubuntu 22.04
  • Python version 3.8
  • Django version: 3.2.15
  • django-advanced-filters version: 1.3.0 (upgraded to latest and same error)
  • Browser : N/A but chrome
  • Version [e.g. 22]

Additional context
Add any other context about the problem here, including traceback and additional log files.

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