diff options
Diffstat (limited to 'archaeological_files/models.py')
| -rw-r--r-- | archaeological_files/models.py | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/archaeological_files/models.py b/archaeological_files/models.py index a35656995..0499efce6 100644 --- a/archaeological_files/models.py +++ b/archaeological_files/models.py @@ -30,7 +30,8 @@ from ishtar_common.utils import cached_label_changed, get_cache  from ishtar_common.models import GeneralType, BaseHistorizedItem, \      HistoricalRecords, OwnPerms, Person, Organization, Department, Town, \ -    Dashboard, DashboardFormItem, IshtarUser, ValueGetter, ShortMenuItem +    Dashboard, DashboardFormItem, IshtarUser, ValueGetter, ShortMenuItem, \ +    OperationType  from archaeological_operations.models import get_values_town_related @@ -147,7 +148,7 @@ class File(BaseHistorizedItem, OwnPerms, ValueGetter, ShortMenuItem,      departments = models.ManyToManyField(          Department, verbose_name=_(u"Departments"), null=True, blank=True)      requested_operation_type = models.ForeignKey( -        'archaeological_operations.OperationType', related_name='+', null=True, +        OperationType, related_name='+', null=True,          blank=True, verbose_name=_(u"Requested operation type"))      organization = models.ForeignKey(          Organization, blank=True, null=True, verbose_name=_(u"Organization"), | 
