Replaced ugettext and ugettext_lazy with gettext and gettext_lazy

ugettext and ugettext_lazy were deprecated in Django 3 and will be
removed in Django 4.
This commit is contained in:
2025-04-10 11:33:06 +02:00
parent 14c2a50503
commit d7e2acff34
26 changed files with 86 additions and 86 deletions

View File

@@ -13,7 +13,7 @@ from django.contrib.auth import get_user_model
from django.urls import reverse
from django.db import models
from django.template.loader import get_template
from django.utils.translation import get_language, ugettext_lazy as _
from django.utils.translation import get_language, gettext_lazy as _
from django_countries.fields import Country, CountryField
from .. import choices