summaryrefslogtreecommitdiff
path: root/archaeological_operations/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-03-29 19:14:27 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-03-29 19:14:27 +0200
commit7e06dcca189d52e8cd2ec8b828bf59116ed8b934 (patch)
tree96ac9c9b4c621f3673301c71b8740639324cc952 /archaeological_operations/models.py
parent0d564dd48cca808bd86f6cfd121f61dac6715e3d (diff)
downloadIshtar-7e06dcca189d52e8cd2ec8b828bf59116ed8b934.tar.bz2
Ishtar-7e06dcca189d52e8cd2ec8b828bf59116ed8b934.zip
Operations: add collaborators field (refs #3368)
Diffstat (limited to 'archaeological_operations/models.py')
-rw-r--r--archaeological_operations/models.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py
index e741f5644..782f9cf35 100644
--- a/archaeological_operations/models.py
+++ b/archaeological_operations/models.py
@@ -269,6 +269,8 @@ class Operation(ClosedItem, BaseHistorizedItem, ImageModel, OwnPerms,
verbose_name=_(u"In charge"),
on_delete=models.SET_NULL,
related_name='operation_responsability')
+ collaborators = models.ManyToManyField(
+ Person, blank=True, null=True, verbose_name=_(u"Collaborators"))
year = models.IntegerField(_(u"Year"), null=True, blank=True)
operation_code = models.IntegerField(_(u"Numeric reference"), null=True,
blank=True)