diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-12-23 16:28:14 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-12-23 16:28:14 +0100 |
commit | 2c7009c401d188d54add9eea91f267f9a2702cfb (patch) | |
tree | 8f5293c76bd7a4f2cf916f58ce654bb09f1bd6dd /archaeological_operations/models.py | |
parent | b4dd6850d5bbe0e75bdcdfdd7d06ff28d3ebfc99 (diff) | |
download | Ishtar-2c7009c401d188d54add9eea91f267f9a2702cfb.tar.bz2 Ishtar-2c7009c401d188d54add9eea91f267f9a2702cfb.zip |
Document generation for files (refs #1576)
Diffstat (limited to 'archaeological_operations/models.py')
-rw-r--r-- | archaeological_operations/models.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index be09f9923..59cb46589 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -355,7 +355,8 @@ class ActType(GeneralType): choices=TYPE) code = models.CharField(_(u"Code"), max_length=10, blank=True, null=True) associated_template = models.ManyToManyField(DocumentTemplate, blank=True, - null=True, verbose_name=_(u"Associated template")) + null=True, verbose_name=_(u"Associated template"), + related_name='acttypes') class Meta: verbose_name = _(u"Act type") verbose_name_plural = _(u"Act types") |