summaryrefslogtreecommitdiff
path: root/archaeological_context_records/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-06-13 13:04:16 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-06-13 13:04:16 +0200
commit04be2c3f89867d2b8ae21ccb475066016bac487d (patch)
tree4ae4ae5c72d4391836ed1d346999e38aa4d48509 /archaeological_context_records/models.py
parent99b70dd1e0724e08e55d99185407caada9ab5eaf (diff)
downloadIshtar-04be2c3f89867d2b8ae21ccb475066016bac487d.tar.bz2
Ishtar-04be2c3f89867d2b8ae21ccb475066016bac487d.zip
OA code is now a string.
Diffstat (limited to 'archaeological_context_records/models.py')
-rw-r--r--archaeological_context_records/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py
index 855ea7d5c..940330d86 100644
--- a/archaeological_context_records/models.py
+++ b/archaeological_context_records/models.py
@@ -390,7 +390,7 @@ class ContextRecord(BaseHistorizedItem, ImageModel, OwnPerms,
def _real_label(self):
if not self.operation.code_patriarche:
return
- return settings.JOINT.join((unicode(self.operation.code_patriarche),
+ return settings.JOINT.join((self.operation.code_patriarche,
self.label))
def _temp_label(self):