…n unicode new_file_content.getvalue() returns a str, but codecs.open(new_filepath, 'w', 'utf-8').write() expects unicode, else it b0rks
… jsmin filter
… for those of us who don't want to install java. Set property DJANGO_STATIC_ CSSMIN = True in settings to enable. Requires cssmin install.
Don't use os.path.normpath to correct settings. Don't mix in MEDIA_URL into this code. Fix abilty to use DJANGO_STATIC_MEDIA_URL_ALWAYS.
If DJANGO_STATIC_MEDIA_URL is set, it will be prepended to the filename when DJANGO_STATIC is False. This fix makes that true also for the slimall and staticall tags.
set) when DJANGO_STATIC is False