summaryrefslogtreecommitdiff
path: root/archaeological_finds/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_finds/models.py')
-rw-r--r--archaeological_finds/models.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/archaeological_finds/models.py b/archaeological_finds/models.py
index eeb293934..cb305a93a 100644
--- a/archaeological_finds/models.py
+++ b/archaeological_finds/models.py
@@ -79,14 +79,14 @@ class BaseFind(BaseHistorizedItem, OwnPerms):
finds += [ope.code_patriarche or \
(unicode(ope.year) + "-" + unicode(ope.operation_code))]
finds += [self.context_record.label, unicode(self.material_index)]
- return JOINT.join(finds)
+ return settings.JOINT.join(finds)
def _real_label(self):
if not self.context_record.parcel.operation.code_patriarche:
return
find = self.get_last_find()
lbl = find.label or self.label
- return JOINT.join([unicode(it) for it in (
+ return settings.JOINT.join([unicode(it) for it in (
self.context_record.parcel.operation.code_patriarche,
self.context_record.label,
lbl) if it])
@@ -96,7 +96,7 @@ class BaseFind(BaseHistorizedItem, OwnPerms):
return
find = self.get_last_find()
lbl = find.label or self.label
- return JOINT.join([unicode(it) for it in (
+ return settings.JOINT.join([unicode(it) for it in (
self.context_record.parcel.year,
self.index,
self.context_record.label,
@@ -278,5 +278,5 @@ class Property(LightHistorizedItem):
verbose_name_plural = _(u"Properties")
def __unicode__(self):
- return self.person + JOINT + self.find
+ return self.person + settings.JOINT + self.find