diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-02-12 15:43:15 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-02-28 12:15:24 +0100 |
commit | 6e4f7a0390b7f49ce79f0e15e07e1d6df309f3ce (patch) | |
tree | bb7c35ca850f60028c576ee42e3fb95db20a64be /archaeological_operations/lookups.py | |
parent | 8ec062dab58750d8eb7fc0217d7adcf71d222747 (diff) | |
download | Ishtar-6e4f7a0390b7f49ce79f0e15e07e1d6df309f3ce.tar.bz2 Ishtar-6e4f7a0390b7f49ce79f0e15e07e1d6df309f3ce.zip |
Refactor - clean
Diffstat (limited to 'archaeological_operations/lookups.py')
-rw-r--r-- | archaeological_operations/lookups.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archaeological_operations/lookups.py b/archaeological_operations/lookups.py index 2d70029ce..66bcf0831 100644 --- a/archaeological_operations/lookups.py +++ b/archaeological_operations/lookups.py @@ -24,7 +24,7 @@ class OperationLookup(LookupChannel): return self.model.objects.filter(query).order_by('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('archaeological_site') @@ -75,7 +75,7 @@ class ParcelLookup(LookupChannel): return escape(force_text(obj.long_label())) def format_item_display(self, item): - return u"<span class='ajax-label'>%s</span>" % item.long_label() + return "<span class='ajax-label'>%s</span>" % item.long_label() @register("cultural_attribution_type") |