summaryrefslogtreecommitdiff
path: root/archaeological_finds/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2015-12-09 15:38:07 +0100
committerÉtienne Loks <etienne.loks@proxience.com>2015-12-09 15:38:07 +0100
commit762506d43e8bc38736d52c687d20515d48a75d49 (patch)
treebdecc65686f3215f5c7e1a4ee9110140004ecb33 /archaeological_finds/models.py
parentd92c09d32386b811294f51909c12fb70b9406eb4 (diff)
downloadIshtar-762506d43e8bc38736d52c687d20515d48a75d49.tar.bz2
Ishtar-762506d43e8bc38736d52c687d20515d48a75d49.zip
Add related fields save management in wizard
Diffstat (limited to 'archaeological_finds/models.py')
-rw-r--r--archaeological_finds/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/archaeological_finds/models.py b/archaeological_finds/models.py
index 0ef1dab58..e4a247941 100644
--- a/archaeological_finds/models.py
+++ b/archaeological_finds/models.py
@@ -278,6 +278,7 @@ class Find(BaseHistorizedItem, ImageModel, OwnPerms, ShortMenuItem):
'base_finds.special_interest': _(u"Base find - Special interest"),
'base_finds.discovery_date': _(u"Base find - Discovery date"),
}
+ ATTRS_EQUIV = {'get_first_base_find': 'base_finds'}
base_finds = models.ManyToManyField(BaseFind, verbose_name=_(u"Base find"),
related_name='find')
external_id = models.CharField(_(u"External ID"), blank=True, null=True,