Skip to content
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.

FIX: smart_text is deprecated; use smart_str. (Django deprecation) #66

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

FlipperPA
Copy link

@FlipperPA FlipperPA commented Feb 22, 2021

Fixes #64

My test suite has started throwing deprecation warnings about this being fully removed in Django 4.0.

smart_str() can be viewed here:
https://github.com/django/django/blob/master/django/utils/encoding.py#L19

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

smart_text() is deprecated in favor of smart_str()
1 participant