diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-10-15 19:01:43 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-10-24 18:32:21 +0200 |
| commit | d949976a9fb9ecf1e366486e604c89c56c02c1f8 (patch) | |
| tree | d52afb87c0b633f28c3f5e58388ac9ecbb40d9ee /archaeological_operations/models.py | |
| parent | c08bab38239171e535e51a2f71230c37d6e84985 (diff) | |
| download | Ishtar-d949976a9fb9ecf1e366486e604c89c56c02c1f8.tar.bz2 Ishtar-d949976a9fb9ecf1e366486e604c89c56c02c1f8.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.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index 614ee69aa..849376958 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -1642,14 +1642,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( @@ -1660,7 +1660,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) @@ -1720,14 +1720,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( |
