From 9f8e9e9157f23458417433eff07dc3efc5542309 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sun, 25 Aug 2013 13:31:45 +0200 Subject: Simplify access to operation for context records (don't use the parcel anymore) (refs #1317) --- archaeological_context_records/wizards.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archaeological_context_records/wizards.py') diff --git a/archaeological_context_records/wizards.py b/archaeological_context_records/wizards.py index 86ce3bd30..afed15c4e 100644 --- a/archaeological_context_records/wizards.py +++ b/archaeological_context_records/wizards.py @@ -44,7 +44,7 @@ class RecordWizard(Wizard): pass current_cr = self.get_current_object() if current_cr: - return current_cr.parcel.operation + return current_cr.operation # get_template_context def get_context_data(self, form, **kwargs): -- cgit v1.2.3