From 4e2c3dcd9dc31221a467a5bb4e727fd06336ea07 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sun, 21 Oct 2012 21:11:48 +0200 Subject: Djangoization - Major refactoring (step 13) * Fix finds wizards * Clean-up an unecessary file --- archaeological_warehouse/wizards.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archaeological_warehouse/wizards.py') diff --git a/archaeological_warehouse/wizards.py b/archaeological_warehouse/wizards.py index cbd756bc8..c40894c25 100644 --- a/archaeological_warehouse/wizards.py +++ b/archaeological_warehouse/wizards.py @@ -31,7 +31,7 @@ class PackagingWizard(TreatmentWizard): dct = self.get_extra_model(dct, form_list) obj = self.get_current_saved_object() dct['location'] = dct['container'].location - items = dct.pop('items') + items = dct.pop('finds') treatment = Treatment(**dct) treatment.save() if not hasattr(items, '__iter__'): -- cgit v1.2.3