summaryrefslogtreecommitdiff
path: root/archaeological_files
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2025-10-15 19:01:43 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2025-10-15 19:32:59 +0200
commit0a29319e2d7d8a3eb190b3596bb9e7942dc28d3e (patch)
treed0691a73cf7cce5a490de8a9b479f6809a810f50 /archaeological_files
parent418813127dead57ac00d749c1ff618273e7fb78f (diff)
downloadIshtar-0a29319e2d7d8a3eb190b3596bb9e7942dc28d3e.tar.bz2
Ishtar-0a29319e2d7d8a3eb190b3596bb9e7942dc28d3e.zip
♻️ django 3.2 - new version of libraries: fix errors and deprecation warnings
Diffstat (limited to 'archaeological_files')
-rw-r--r--archaeological_files/models.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/archaeological_files/models.py b/archaeological_files/models.py
index 33af742ac..01fb4f554 100644
--- a/archaeological_files/models.py
+++ b/archaeological_files/models.py
@@ -99,7 +99,7 @@ class Job(GeneralType):
)
ground_daily_cost = models.FloatField(_("Ground daily cost"), blank=True, null=True)
daily_cost = models.FloatField(_("Daily cost"), blank=True, null=True)
- permanent_contract = models.NullBooleanField(
+ permanent_contract = models.BooleanField(
_("Permanent contract"), blank=True, null=True
)
default_daily_need_on_ground = models.FloatField(
@@ -790,16 +790,16 @@ class File(
research_comment = models.TextField(
_("Research archaeology comment"), blank=True, default=""
)
- classified_area = models.NullBooleanField(
+ classified_area = models.BooleanField(
_("Classified area"), blank=True, null=True
)
- protected_area = models.NullBooleanField(_("Protected area"), blank=True, null=True)
+ protected_area = models.BooleanField(_("Protected area"), blank=True, null=True)
if settings.COUNTRY == "fr":
- cira_advised = models.NullBooleanField("Passage en CIRA", blank=True, null=True)
- mh_register = models.NullBooleanField(
+ cira_advised = models.BooleanField("Passage en CIRA", blank=True, null=True)
+ mh_register = models.BooleanField(
"Sur Monument Historique classé", blank=True, null=True
)
- mh_listing = models.NullBooleanField(
+ mh_listing = models.BooleanField(
"Sur Monument Historique inscrit", blank=True, null=True
)
# <-- research archaeology