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
commit8ff14b5402eb5af8685d2c3783b3bd5bdb2ec9a2 (patch)
tree96ac9c9b4c621f3673301c71b8740639324cc952 /archaeological_operations/models.py
parentb97f9e46a2faaa26484ddb1ef76b01602f2f143d (diff)
downloadIshtar-8ff14b5402eb5af8685d2c3783b3bd5bdb2ec9a2.tar.bz2
Ishtar-8ff14b5402eb5af8685d2c3783b3bd5bdb2ec9a2.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)