summaryrefslogtreecommitdiff
path: root/archaeological_context_records
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2022-05-27 08:30:27 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2022-05-27 08:30:27 +0200
commitc568ea2d213877453f073e8570ec2585c8cc3018 (patch)
tree3c74ff2345a4afa7699d91e09b68b4d168d778af /archaeological_context_records
parent3afbba402b5ddfe2f3e5357292a5488ff1bc6de7 (diff)
downloadIshtar-c568ea2d213877453f073e8570ec2585c8cc3018.tar.bz2
Ishtar-c568ea2d213877453f073e8570ec2585c8cc3018.zip
OA prefix: fix customize on sheet, form and save
Diffstat (limited to 'archaeological_context_records')
-rw-r--r--archaeological_context_records/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py
index 870a10046..d143ddd09 100644
--- a/archaeological_context_records/models.py
+++ b/archaeological_context_records/models.py
@@ -914,8 +914,8 @@ class ContextRecord(
WHERE {where}
);
""".format(
- main_ope_prefix=profile.operation_prefix,
- ope_prefix=profile.default_operation_prefix,
+ main_ope_prefix=(profile.operation_prefix or ""),
+ ope_prefix=(profile.default_operation_prefix or ""),
join=settings.JOINT,
where=where,
)