summaryrefslogtreecommitdiff
path: root/archaeological_operations/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2014-03-27 22:36:17 +0100
committerÉtienne Loks <etienne.loks@proxience.com>2014-03-27 22:36:17 +0100
commitabfcf1fa9d97186e37536527b4b7c266a36706e0 (patch)
treefe68ebb5cff2e3407cfb72084234c0c0f2d79974 /archaeological_operations/models.py
parent113fed25e11b74ca236b033a873461daf6b88795 (diff)
downloadIshtar-abfcf1fa9d97186e37536527b4b7c266a36706e0.tar.bz2
Ishtar-abfcf1fa9d97186e37536527b4b7c266a36706e0.zip
Add operators to archaeological operations (refs #1678)
Diffstat (limited to 'archaeological_operations/models.py')
-rw-r--r--archaeological_operations/models.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py
index 855d7c8e4..8180707bc 100644
--- a/archaeological_operations/models.py
+++ b/archaeological_operations/models.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
-# Copyright (C) 2012-2013 Étienne Loks <etienne.loks_AT_peacefrogsDOTnet>
+# Copyright (C) 2012-2014 Étienne Loks <etienne.loks_AT_peacefrogsDOTnet>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
@@ -113,6 +113,8 @@ class Operation(BaseHistorizedItem, OwnPerms, ValueGetter):
scientist = models.ForeignKey(Person, blank=True, null=True,
verbose_name=_(u"In charge scientist"),
related_name='operation_scientist_responsability')
+ operator = models.ForeignKey(Organization, blank=True, null=True,
+ verbose_name=_(u"Operator"))
in_charge = models.ForeignKey(Person, blank=True, null=True,
verbose_name=_(u"In charge"),
related_name='operation_responsability')