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

change_list.html: fix compress command of django-compressor #370

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

PetrDlouhy
Copy link
Contributor

@PetrDlouhy PetrDlouhy commented Aug 16, 2023

The django-compress raises following errors during run of compress management command and also compilescss command of django-sass-processor:

# python manage.py compress
Compressing...
Error parsing template adminsortable2/change_list.html: Invalid template name in 'extends' tag: ''. Got this from the 'base_change_list_template' variable.

@jrief
Copy link
Owner

jrief commented Aug 16, 2023

and also compilescss command of django-sass-processor:

but django-sass-processor only issues a warning, or do I miss something here?

Does django-compressor abort its job after encountering that template?

@PetrDlouhy
Copy link
Contributor Author

@jrief You are right. Those are just warnings, but they are a bit annoying and can hide more serious issues. This simple fix would get rid of them.

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 this pull request may close these issues.

None yet

2 participants