summaryrefslogtreecommitdiff
path: root/archaeological_context_records/wizards.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2015-12-14 22:02:33 +0100
committerÉtienne Loks <etienne.loks@proxience.com>2015-12-14 22:02:33 +0100
commite8622c5d615bb39097cb4065976f53f2949976ae (patch)
tree51f9389ebd5b92cf477c169e9266201a8d90cbce /archaeological_context_records/wizards.py
parent9b6160b263f737271a0f1aad44b02bca0a70b878 (diff)
downloadIshtar-e8622c5d615bb39097cb4065976f53f2949976ae.tar.bz2
Ishtar-e8622c5d615bb39097cb4065976f53f2949976ae.zip
Force own filters for context records and finds
Diffstat (limited to 'archaeological_context_records/wizards.py')
-rw-r--r--archaeological_context_records/wizards.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/archaeological_context_records/wizards.py b/archaeological_context_records/wizards.py
index a51809d32..99c666e89 100644
--- a/archaeological_context_records/wizards.py
+++ b/archaeological_context_records/wizards.py
@@ -94,6 +94,7 @@ class RecordWizard(Wizard):
class RecordModifWizard(RecordWizard):
modification = True
model = models.ContextRecord
+ filter_owns = {'selec-record_modification': ['pk']}
class RecordDeletionWizard(DeletionWizard):
@@ -102,6 +103,7 @@ class RecordDeletionWizard(DeletionWizard):
'depth', 'location', 'datings', 'units', 'has_furniture',
'filling', 'interpretation', 'taq', 'taq_estimated', 'tpq',
'tpq_estimated']
+ filter_owns = {'selec-record_deletion': ['pk']}
class RecordSourceWizard(SourceWizard):