mirror of
https://github.com/Hopiu/django-modeltranslation.git
synced 2026-05-22 03:11:53 +00:00
Update to use gettext_lazy
The use of `ugettext` and variants is deprecated in Django 3.0 and to be removed in Django 4.0. See more here: https://code.djangoproject.com/ticket/30165
This commit is contained in:
parent
e6acda12f9
commit
1bff76dc02
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ from __future__ import unicode_literals
|
|||
from django.forms.widgets import Media, Widget, CheckboxInput
|
||||
from django.utils.html import conditional_escape
|
||||
from django.utils.safestring import mark_safe
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
|
||||
class ClearableWidgetWrapper(Widget):
|
||||
|
|
|
|||
Loading…
Reference in a new issue