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
commit921174babfd04f1da248a4eb4536d882963b4700 (patch)
treebfbc5fa7a296011944c6c43865432e56584eb05a /archaeological_operations/forms.py
parentd26ac1d32ae29093590a5d58167ebcab82c8fcd8 (diff)
downloadIshtar-921174babfd04f1da248a4eb4536d882963b4700.tar.bz2
Ishtar-921174babfd04f1da248a4eb4536d882963b4700.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),