Skip to content

Conversation

@mitya57
Copy link

@mitya57 mitya57 commented May 26, 2025

  • Replace ugettext with gettext.
  • Replace force_text with force_str.
  • Replace url with re_path.
  • Replace urlquote with urllib.parse.quote.

ugettext, force_text and urlquote were deprecated in Django 3.0. url was deprecated in Django 3.1.

The replacements are available since Django 2.0.

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

Successfully merging this pull request may close these issues.

1 participant