summaryrefslogtreecommitdiff
path: root/archaeological_operations/forms.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2021-03-26 15:12:31 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2021-03-26 15:12:31 +0100
commitfffbad69c962bea546d8193b922b472c886c4023 (patch)
treebfbc5fa7a296011944c6c43865432e56584eb05a /archaeological_operations/forms.py
parentf6b335e4a41c185101b58731a023a717567e33fa (diff)
downloadIshtar-fffbad69c962bea546d8193b922b472c886c4023.tar.bz2
Ishtar-fffbad69c962bea546d8193b922b472c886c4023.zip
Operation - Context records: Surface int -> float
Diffstat (limited to 'archaeological_operations/forms.py')
-rw-r--r--archaeological_operations/forms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py
index 12011ef28..bd237488d 100644
--- a/archaeological_operations/forms.py
+++ b/archaeological_operations/forms.py
@@ -831,7 +831,7 @@ class OperationFormGeneral(CustomForm, ManageOldType):
limit={'person_types': [person_type_pk_lazy('sra_agent')]},
new=True),
validators=[valid_id(Person)], required=False)
- surface = forms.IntegerField(
+ surface = forms.FloatField(
required=False, widget=widgets.AreaWidget,
label=_("Total surface (m2)"),
validators=[validators.MinValueValidator(0),