bootstrap-breadcrumbs
bootstrap-breadcrumbs copied to clipboard
smart_text() is deprecated in favor of smart_str()
Using django-bootstrap-breadcrumbs 0.9.2 with Django 3.0.7, I get the following deprecation warning:
lib/python3.8/site-packages/django_bootstrap_breadcrumbs/templatetags/django_bootstrap_breadcrumbs.py:151: RemovedInDjango40Warning: smart_text() is deprecated in favor of smart_str().
links.append((url, smart_text(label) if label else label))
Checking the Django source it looks like smart_text()
is now just a call to smart_str()
.
(It looks like I mentioned this in #60 but only the first of the two warnings got fixed.)
Is this merge going to occur - it's been pending for almost 2 years...?
And now it breaks Dango 4.0 compatibility, since smart_text was removed. Would be great to see this merged and released.