summaryrefslogtreecommitdiff
path: root/archaeological_files/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-04-14 19:37:35 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-04-14 19:37:35 +0200
commit75eba6fe02babf4a4e86997578e2caf9f7ba828e (patch)
tree251c730e3bfe366c66d495838a8dc0765003b627 /archaeological_files/models.py
parent938270b76b0526ba9bcb063a58a80d1a2e5796ec (diff)
downloadIshtar-75eba6fe02babf4a4e86997578e2caf9f7ba828e.tar.bz2
Ishtar-75eba6fe02babf4a4e86997578e2caf9f7ba828e.zip
Django 1.8: fix import errors, deprecation warnings and models warnings
Diffstat (limited to 'archaeological_files/models.py')
-rw-r--r--archaeological_files/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_files/models.py b/archaeological_files/models.py
index 52f628817..08c7edf8c 100644
--- a/archaeological_files/models.py
+++ b/archaeological_files/models.py
@@ -180,7 +180,7 @@ class File(ClosedItem, BaseHistorizedItem, OwnPerms, ValueGetter,
comment = models.TextField(_(u"Comment"), null=True, blank=True)
# research archaeology -->
departments = models.ManyToManyField(
- Department, verbose_name=_(u"Departments"), null=True, blank=True)
+ Department, verbose_name=_(u"Departments"), blank=True)
requested_operation_type = models.ForeignKey(
OperationType, related_name='+', null=True,
blank=True, verbose_name=_(u"Requested operation type"))