sphinx-doc/sphinxcontrib-django

RemovedInDjango40Warning: force_text() is deprecated in favor of force_str()

therefromhere opened this issue · 3 comments

This is a little way off for now (Django 4.0 is scheduled for ~December 2022), but just a heads up on this warning:

sphinxcontrib_django/docstrings.py:145: RemovedInDjango40Warning: force_text() is deprecated in favor of force_str().

  help_text = strip_tags(force_text(field.help_text))

Since Django 4 is now out, this have become a more severe issue. Would be amazing if the related PR could be released.

@ErikKalkoken Since this repository is apparently no longer maintained, I added support for Django 4 to my fork over a year ago: