From 26a2d4a684db273ff707428e36911741a37532f2 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sun, 13 Feb 2022 16:48:54 -0500 Subject: main: updated to django 4.0 --- app/utils/widgets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/utils') diff --git a/app/utils/widgets.py b/app/utils/widgets.py index f4a7a4a..87b39ec 100644 --- a/app/utils/widgets.py +++ b/app/utils/widgets.py @@ -4,7 +4,7 @@ from django.contrib import admin from django.contrib.admin.widgets import AdminFileWidget from django.contrib.gis.admin import OSMGeoAdmin from django.utils.safestring import mark_safe -from django.utils.translation import ugettext_lazy as _ +from django.utils.translation import gettext_lazy as _ from django.template.loader import render_to_string from django.template import Context from django.forms.widgets import SelectMultiple -- cgit v1.2.3-70-g09d2