summaryrefslogtreecommitdiff
path: root/archaeological_operations/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_operations/models.py')
-rw-r--r--archaeological_operations/models.py3
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")