django-admin-sortable2
django-admin-sortable2 copied to clipboard
change_list.html: fix compress command of django-compressor
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.
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?
@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.