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
commitd7daac762c36d35737f36e46d5a13f47cce87351 (patch)
tree3d286758b2b74ee8517e172ad9247dcc729c7c82 /archaeological_context_records/models.py
parent3e162780236ca6608270665b0cbc9c75c27a2a75 (diff)
downloadIshtar-d7daac762c36d35737f36e46d5a13f47cce87351.tar.bz2
Ishtar-d7daac762c36d35737f36e46d5a13f47cce87351.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 "