summaryrefslogtreecommitdiff
path: root/archaeological_context_records/models.py
diff options
context:
space:
mode:
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 "