From 48eb91979705f9999b724c8e2f960fd7931775c1 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sun, 21 Oct 2012 01:31:49 +0200 Subject: Djangoization - Major refactoring (step 7) Work on archaeological_files wizards --- archaeological_finds/models.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'archaeological_finds/models.py') 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 -- cgit v1.2.3