diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-03-24 18:04:01 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-07-21 15:07:41 +0200 |
commit | 4f8fe31ad39bf0b82842690aeedf20a50d8812df (patch) | |
tree | 750a9c700bf58b358e600c430f23934a1bbf6332 /archaeological_operations | |
parent | 7aa1ab1b09bcafb2f806e389f4b7090332004e55 (diff) | |
download | Ishtar-4f8fe31ad39bf0b82842690aeedf20a50d8812df.tar.bz2 Ishtar-4f8fe31ad39bf0b82842690aeedf20a50d8812df.zip |
♻️ django 3.2 - new version of libraries: fix errors and deprecation warnings
Diffstat (limited to 'archaeological_operations')
-rw-r--r-- | archaeological_operations/models.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index b7b955b80..6eb5881cd 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -1635,14 +1635,14 @@ class Operation( # preventive fnap_cost = models.IntegerField("Financement FNAP (€)", blank=True, null=True) # preventive diag - zoning_prescription = models.NullBooleanField( + zoning_prescription = models.BooleanField( _("Prescription on zoning"), blank=True, null=True ) # preventive diag - large_area_prescription = models.NullBooleanField( + large_area_prescription = models.BooleanField( _("Prescription on large area"), blank=True, null=True ) - geoarchaeological_context_prescription = models.NullBooleanField( + geoarchaeological_context_prescription = models.BooleanField( _("Prescription on geoarchaeological context"), blank=True, null=True ) # preventive diag cira_rapporteur = models.ForeignKey( @@ -1653,7 +1653,7 @@ class Operation( on_delete=models.SET_NULL, verbose_name="Rapporteur CTRA/CIRA", ) - negative_result = models.NullBooleanField( + negative_result = models.BooleanField( _("Result considered negative"), blank=True, null=True ) cira_date = models.DateField("Date avis CTRA/CIRA", null=True, blank=True) @@ -1713,14 +1713,14 @@ class Operation( documentation_deadline = models.DateField( _("Deadline for submission of the documentation"), blank=True, null=True ) - documentation_received = models.NullBooleanField( + documentation_received = models.BooleanField( _("Documentation provided"), blank=True, null=True ) finds_deposit_date = models.DateField(_("Finds deposit date"), blank=True, null=True) finds_deadline = models.DateField( _("Deadline for submission of the finds"), blank=True, null=True ) - finds_received = models.NullBooleanField(_("Finds provided"), blank=True, null=True) + finds_received = models.BooleanField(_("Finds provided"), blank=True, null=True) # underwater drassm_code = models.CharField( |