From 1713ea6f95111cd657f9dd519807dd3c9204323c Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 12 Sep 2019 00:18:46 +0200 Subject: Serializations: ActType filter in types - Full export of ActType in conf --- archaeological_operations/models.py | 1 + 1 file changed, 1 insertion(+) (limited to 'archaeological_operations') diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index 6a25490d7..a120e7db5 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -1735,6 +1735,7 @@ class ActType(GeneralType): ('TF', _(u'Treatment request')), ('T', _(u'Treatment')), ) + SERIALIZATION_EXCLUDE = ["associated_template"] intented_to = models.CharField(_("Intended to"), max_length=2, choices=TYPE) code = models.CharField(_("Code"), max_length=10, blank=True, null=True) -- cgit v1.2.3