andreyfedoseev / django-static-precompiler

Django Static Precompiler provides template tags and filters to compile CoffeeScript, LiveScript, SASS / SCSS, LESS, Stylus, Babel and Handlebars. It works with both inline code and external files.
Other
222 stars 60 forks source link

Stop using django.utils.six #125

Closed cafehaine closed 3 years ago

cafehaine commented 4 years ago

Closes #124

Breaks python2 compatibility, but allows using django3.

vignzpie commented 4 years ago

Hi there , do we have any updates on this? I wanted to use .less files with Django 3.0

BarnabasSzabolcs commented 4 years ago

Nice work, still it won't be merged.

This change needs to be written with conditional imports. (If the django3-incompatible import fails, import the django3 compatible one and adjust the code accordingly, in order to keep compatibility for other users who also depend on this - and to make the tests green.)

cafehaine commented 4 years ago

Nice work, still it won't be merged.

This change needs to be written with conditional imports. (If the django3-incompatible import fails, import the django3 compatible one and adjust the code accordingly, in order to keep compatibility for other users who also depend on this - and to make the tests green.)

I will look into it whenever I have time :)

andreyfedoseev commented 3 years ago

I just released version 2.0 which adds support for Django 3.0 and 3.1