summaryrefslogtreecommitdiff
path: root/archaeological_operations/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2025-03-24 18:04:01 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2025-06-13 18:01:30 +0200
commit1c148cc8cdaccfbd4e6e506aa2fd35e53920ddf0 (patch)
tree8a3bfb70860c48995c0e55af2eed9e46aa2969e7 /archaeological_operations/models.py
parent98ec1df553ccf6763f60f230c0db083526a508ba (diff)
downloadIshtar-1c148cc8cdaccfbd4e6e506aa2fd35e53920ddf0.tar.bz2
Ishtar-1c148cc8cdaccfbd4e6e506aa2fd35e53920ddf0.zip
♻️ django 3.2 - new version of libraries: fix errors and deprecation warnings
Diffstat (limited to 'archaeological_operations/models.py')
-rw-r--r--archaeological_operations/models.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py
index 72838e815..bd6ae8e6e 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(