Skip to content

Commit

Permalink
Fix deprecated usage of ugettext_lazy
Browse files Browse the repository at this point in the history
  • Loading branch information
johnthagen committed Feb 22, 2021
1 parent d9046e5 commit e5ffdf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/enums.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from django.utils.translation import ugettext_lazy
from django.utils.translation import gettext_lazy

from enumfields import Enum, IntEnum

Expand All @@ -12,7 +12,7 @@ class Color(Enum):

class Labels:
RED = 'Reddish'
BLUE = ugettext_lazy('bluë')
BLUE = gettext_lazy('bluë')


class Taste(Enum):
Expand Down

0 comments on commit e5ffdf8

Please sign in to comment.