summaryrefslogtreecommitdiff
path: root/archaeological_context_records/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2024-11-15 11:51:49 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2025-02-19 14:45:55 +0100
commitf3764eea1ac4a6cdb12095322a00fd93d377c2c5 (patch)
tree878cc3ba5ce98d1d7ed28e264d54f4ca4efbdf0d /archaeological_context_records/models.py
parenta2de2eb42009de3b8bf56f2af2a6071a4a98fd8f (diff)
downloadIshtar-f3764eea1ac4a6cdb12095322a00fd93d377c2c5.tar.bz2
Ishtar-f3764eea1ac4a6cdb12095322a00fd93d377c2c5.zip
✨ adapt sheet to manage sheet filters
Diffstat (limited to 'archaeological_context_records/models.py')
-rw-r--r--archaeological_context_records/models.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py
index dbd7bc463..8046cef7e 100644
--- a/archaeological_context_records/models.py
+++ b/archaeological_context_records/models.py
@@ -836,6 +836,10 @@ class ContextRecord(
]
UPPER_GEO = ["operation", "archaeological_site"]
UPPER_PERMISSIONS = [(Operation, "operation_id")]
+ SHEET_EMPTY_KEYS = [
+ "m2m_listing", "interpretation", "activity", "taq", "taq_estimated", "tpq",
+ "tpq_estimated"
+ ]
history = HistoricalRecords(bases=[HistoryModel])
objects = UUIDModelManager()