Skip to content

Commit 521a83f

Browse files
committed
Fix deprecated use of ugettext_lazy
Change to gettext_lazy. ugettext_lazy was removed in Django 4.0, and has been an alias to gettext_lazy since Django 2.0.
1 parent d9c4b15 commit 521a83f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

martor/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
from django.http import (HttpResponse, JsonResponse)
55
from django.utils.module_loading import import_string
6-
from django.utils.translation import ugettext_lazy as _
6+
from django.utils.translation import gettext_lazy as _
77
from django.contrib.auth.decorators import login_required
88
from django.contrib.auth import get_user_model
99

0 commit comments

Comments
 (0)