Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated function call #31

Closed
aDramaQueen opened this issue May 13, 2022 · 2 comments
Closed

Deprecated function call #31

aDramaQueen opened this issue May 13, 2022 · 2 comments

Comments

@aDramaQueen
Copy link

Description

Hi,

As of Django v.4.0 there is no longer force_text. It's now force_str

Django - Documentation: django.utils.encoding

Steps To Reproduce

  1. Create a Django 4.0 project
  2. Setup Sphinx with sphinxcontrib-django
  3. Try to generate documentation

Actual Behavior

Throws exception during DOC generation

Expected/Desired Behavior

Throws no exception during DOC generation

Screenshots

Exception

exception

Deprecated Code Snippet

force_text

@timobrembeck
Copy link
Collaborator

@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:

@timobrembeck
Copy link
Collaborator

Duplicate of #24

@timobrembeck timobrembeck marked this as a duplicate of #24 Jan 2, 2023
@timobrembeck timobrembeck closed this as not planned Won't fix, can't repro, duplicate, stale Jan 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants