summaryrefslogtreecommitdiff
path: root/archaeological_context_records/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-08-21 16:49:09 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-08-21 16:50:55 +0200
commit1efb6a4190ec6c90f456220928a98190e3d7225f (patch)
tree3d286758b2b74ee8517e172ad9247dcc729c7c82 /archaeological_context_records/models.py
parent1f1d9e31a0a3856a64912d1f5592b3cc57646e76 (diff)
downloadIshtar-1efb6a4190ec6c90f456220928a98190e3d7225f.tar.bz2
Ishtar-1efb6a4190ec6c90f456220928a98190e3d7225f.zip
Context records: centimeters to meters for dimensions (refs #2963)
Diffstat (limited to 'archaeological_context_records/models.py')
-rw-r--r--archaeological_context_records/models.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py
index a5b1463bf..f2a802fbe 100644
--- a/archaeological_context_records/models.py
+++ b/archaeological_context_records/models.py
@@ -133,11 +133,11 @@ class ContextRecord(BaseHistorizedItem, OwnPerms, ShortMenuItem):
opening_date = models.DateField(_(u"Date d'ouverture"),
blank=True, null=True)
closing_date = models.DateField(_(u"End date"), blank=True, null=True)
- length = models.IntegerField(_(u"Length (cm)"), blank=True, null=True)
- width = models.IntegerField(_(u"Width (cm)"), blank=True, null=True)
- thickness = models.IntegerField(_(u"Thickness (cm)"), blank=True,
- null=True)
- depth = models.IntegerField(_(u"Depth (cm)"), blank=True, null=True)
+ length = models.FloatField(_(u"Length (m)"), blank=True, null=True)
+ width = models.FloatField(_(u"Width (m)"), blank=True, null=True)
+ thickness = models.FloatField(_(u"Thickness (m)"), blank=True,
+ null=True)
+ depth = models.FloatField(_(u"Depth (m)"), blank=True, null=True)
location = models.CharField(
_(u"Location"), blank=True, null=True, max_length=200,
help_text=_(u"A short description of the location of the context "