diff options
Diffstat (limited to 'app/utils')
-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' |