diff options
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 |
commit | fffbad69c962bea546d8193b922b472c886c4023 (patch) | |
tree | bfbc5fa7a296011944c6c43865432e56584eb05a /archaeological_operations/forms.py | |
parent | f6b335e4a41c185101b58731a023a717567e33fa (diff) | |
download | Ishtar-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.py | 2 |
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), |