Skip to content

Commit ff13377

Browse files
authored
Django 4.0 warnings (jazzband#585)
* switch to gettext * switch to gettext
1 parent ed97cb4 commit ff13377

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

push_notifications/admin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from django.apps import apps
22
from django.contrib import admin, messages
33
from django.utils.encoding import force_text
4-
from django.utils.translation import ugettext_lazy as _
4+
from django.utils.translation import gettext_lazy as _
55

66
from .apns import APNSServerError
77
from .gcm import GCMError

push_notifications/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from django.db import models
2-
from django.utils.translation import ugettext_lazy as _
2+
from django.utils.translation import gettext_lazy as _
33

44
from .fields import HexIntegerField
55
from .settings import PUSH_NOTIFICATIONS_SETTINGS as SETTINGS

0 commit comments

Comments
 (0)