prymitive / bootstrap-breadcrumbs

Django template tags for easy breadcrumbs using twitter bootstrap css classes or custom template
django-bootstrap-breadcrumbs.readthedocs.org
MIT License
92 stars 47 forks source link

Deprecation warnings under django-3.0 #60

Closed sde1000 closed 4 years ago

sde1000 commented 4 years ago
django_bootstrap_breadcrumbs/templatetags/django_bootstrap_breadcrumbs.py:81: RemovedInDjango40Warning: django.utils.translation.ugettext() is deprecated in favor of django.utils.translation.gettext().
append_breadcrumb(context, _(escape(label)), viewname, args, kwargs)
django_bootstrap_breadcrumbs/templatetags/django_bootstrap_breadcrumbs.py:147: RemovedInDjango40Warning: smart_text() is deprecated in favor of smart_str().
links.append((url, smart_text(label) if label else label))
prymitive commented 4 years ago

Should be fixed in 0.9.2, thanks!