Closed aDramaQueen closed 1 year ago
Hi,
As of Django v.4.0 there is no longer force_text. It's now force_str
force_text
force_str
Django - Documentation: django.utils.encoding
sphinxcontrib-django
Throws exception during DOC generation
Throws no exception during DOC generation
@aDramaQueen this is clearly a duplicate of #24. But since this repository is apparently no longer maintained, I added support for Django 4 to my fork nearly two years ago:
Duplicate of #24
Description
Hi,
As of Django v.4.0 there is no longer
force_text
. It's nowforce_str
Django - Documentation: django.utils.encoding
Steps To Reproduce
sphinxcontrib-django
Actual Behavior
Throws exception during DOC generation
Expected/Desired Behavior
Throws no exception during DOC generation
Screenshots
Exception
Deprecated Code Snippet