roverdotcom/django-inlinecss

Django inlinecss smart_txt error because it had been replaced with smart_str post django 3.0

Opened this issue · 3 comments

Im getting an import error because of smart_txt, django has replaced it with smart_str, are there any fixes?

Any update on this?

Same question.
Is it going to be fixed?

Seem like this library is no longer being maintained, as workaround add the below in settings.py

import django
from django.utils.encoding import smart_str
django.utils.encoding.smart_text = smart_str