From 6c47b6b3bc23aadc674175f140091f46aa5f3868 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 14 Dec 2015 22:02:33 +0100 Subject: Force own filters for context records and finds --- archaeological_context_records/wizards.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'archaeological_context_records/wizards.py') 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): -- cgit v1.2.3