diff options
author | lxf <sng@luxagraf.net> | 2022-05-14 20:29:38 -0400 |
---|---|---|
committer | lxf <sng@luxagraf.net> | 2022-05-14 20:29:38 -0400 |
commit | 01e4bdad76b91b34e6f6744a28764eb1c74120de (patch) | |
tree | 5a5fd3059bb6ed5bef574257bdb7d766559b7aaf /app/utils/widgets.py | |
parent | bb3973ffb714c932e9ec6dd6a751228dc71fe1d3 (diff) |
updated to support django 4.0
Diffstat (limited to 'app/utils/widgets.py')
-rw-r--r-- | app/utils/widgets.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/utils/widgets.py b/app/utils/widgets.py index f4a7a4a..f0f8821 100644 --- a/app/utils/widgets.py +++ b/app/utils/widgets.py @@ -4,7 +4,6 @@ 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.template.loader import render_to_string from django.template import Context from django.forms.widgets import SelectMultiple @@ -51,7 +50,7 @@ class CustomSelectMultiple(SelectMultiple): class TagListFilter(admin.SimpleListFilter): # Human-readable title which will be displayed in the # right admin sidebar just above the filter options. - title = _('tag') + title = ('tag') # Parameter for the filter that will be used in the URL query. parameter_name = 'tag' |