0001-discard-deprecated-ugettext-i18n-utils-64309.patch
mellon/adapters.py | ||
---|---|---|
33 | 33 |
from django.core.exceptions import FieldDoesNotExist, PermissionDenied |
34 | 34 |
from django.core.files.storage import default_storage |
35 | 35 |
from django.utils.encoding import force_text |
36 |
from django.utils.translation import ugettext as _
|
|
36 |
from django.utils.translation import gettext as _ |
|
37 | 37 | |
38 | 38 |
from . import app_settings, models, models_utils, utils |
39 | 39 |
mellon/models.py | ||
---|---|---|
18 | 18 | |
19 | 19 |
from django.conf import settings |
20 | 20 |
from django.db import models |
21 |
from django.utils.translation import ugettext_lazy as _
|
|
21 |
from django.utils.translation import gettext_lazy as _ |
|
22 | 22 | |
23 | 23 | |
24 | 24 |
class UserSAMLIdentifier(models.Model): |
mellon/views.py | ||
---|---|---|
34 | 34 |
from django.urls import reverse |
35 | 35 |
from django.utils.encoding import force_str, force_text |
36 | 36 |
from django.utils.http import urlencode |
37 |
from django.utils.translation import ugettext as _
|
|
37 |
from django.utils.translation import gettext as _ |
|
38 | 38 |
from django.views.decorators.csrf import csrf_exempt |
39 | 39 |
from django.views.generic import View |
40 | 40 |
from django.views.generic.base import RedirectView |
41 |
- |