summaryrefslogtreecommitdiff
path: root/archaeological_context_records/wizards.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2013-08-25 13:31:45 +0200
committerÉtienne Loks <etienne.loks@peacefrogs.net>2013-08-25 13:31:45 +0200
commit9f8e9e9157f23458417433eff07dc3efc5542309 (patch)
tree3f8393b6e3ebcb517cc6d16d679c262731ef95a9 /archaeological_context_records/wizards.py
parenta3f562c6050819aeee23bd10e3efa38126e7f0d7 (diff)
downloadIshtar-9f8e9e9157f23458417433eff07dc3efc5542309.tar.bz2
Ishtar-9f8e9e9157f23458417433eff07dc3efc5542309.zip
Simplify access to operation for context records (don't use the parcel anymore) (refs #1317)
Diffstat (limited to 'archaeological_context_records/wizards.py')
-rw-r--r--archaeological_context_records/wizards.py2
1 files changed, 1 insertions, 1 deletions
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):