summaryrefslogtreecommitdiff
path: root/ishtar/furnitures/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2011-03-15 13:34:21 +0100
committerÉtienne Loks <etienne.loks@peacefrogs.net>2011-03-15 13:34:21 +0100
commit6993b5c980a78e8a7aa06cac3003aa8d2bf7a1e3 (patch)
treed95f9edfe4f60e0dc4dca003f36c8c9fe5a9f2e4 /ishtar/furnitures/models.py
parent789536a8b59b72e95a3e36a1a368f1b583bc6d2b (diff)
downloadIshtar-6993b5c980a78e8a7aa06cac3003aa8d2bf7a1e3.tar.bz2
Ishtar-6993b5c980a78e8a7aa06cac3003aa8d2bf7a1e3.zip
Modification and correction on creation of context record (refs #18)
Diffstat (limited to 'ishtar/furnitures/models.py')
-rw-r--r--ishtar/furnitures/models.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ishtar/furnitures/models.py b/ishtar/furnitures/models.py
index 78507f971..e93b74612 100644
--- a/ishtar/furnitures/models.py
+++ b/ishtar/furnitures/models.py
@@ -578,7 +578,8 @@ class ContextRecord(BaseHistorizedItem, OwnPerms):
help_text=_(u"A short description of the location of the context record"))
datings = models.ManyToManyField(Dating)
units = models.ManyToManyField(Unit)
- has_furniture = models.BooleanField(u"Has furniture?")
+ has_furniture = models.NullBooleanField(u"Has furniture?", blank=True,
+ null=True)
filling = models.TextField(_(u"Filling"), blank=True, null=True)
interpretation = models.TextField(_(u"Interpretation"), blank=True,
null=True)