summaryrefslogtreecommitdiff
path: root/archaeological_finds/lookups.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_finds/lookups.py')
-rw-r--r--archaeological_finds/lookups.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/archaeological_finds/lookups.py b/archaeological_finds/lookups.py
index 2c17d890a..b8ce8400d 100644
--- a/archaeological_finds/lookups.py
+++ b/archaeological_finds/lookups.py
@@ -25,7 +25,7 @@ class BaseFindLookup(LookupChannel):
'cache_complete_id')[:20]
def format_item_display(self, item):
- return u"<span class='ajax-label'>%s</span>" % item.cache_complete_id
+ return "<span class='ajax-label'>%s</span>" % item.cache_complete_id
@register('find')
@@ -44,7 +44,7 @@ class FindLookup(LookupChannel):
'cached_label')[:20]
def format_item_display(self, item):
- return u"<span class='ajax-label'>%s</span>" % item.full_label
+ return "<span class='ajax-label'>%s</span>" % item.full_label
def format_match(self, obj):
return escape(force_text(obj.full_label))
@@ -65,7 +65,7 @@ class TreatmentLookup(LookupChannel):
'cached_label')[:20]
def format_item_display(self, item):
- return u"<span class='ajax-label'>%s</span>" % item.cached_label
+ return "<span class='ajax-label'>%s</span>" % item.cached_label
@register('treatment_file')
@@ -83,7 +83,7 @@ class TreatmentFileLookup(LookupChannel):
'cached_label')[:20]
def format_item_display(self, item):
- return u"<span class='ajax-label'>%s</span>" % item.cached_label
+ return "<span class='ajax-label'>%s</span>" % item.cached_label
@register('material_type')