diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2012-10-21 21:11:48 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2012-10-21 21:11:48 +0200 |
commit | 4e2c3dcd9dc31221a467a5bb4e727fd06336ea07 (patch) | |
tree | e106614f06c452a4b879104d6b745b7e710928c1 /archaeological_warehouse/wizards.py | |
parent | 9b74fc6fbcc6c51dc6e18d33179262d14188fcc5 (diff) | |
download | Ishtar-4e2c3dcd9dc31221a467a5bb4e727fd06336ea07.tar.bz2 Ishtar-4e2c3dcd9dc31221a467a5bb4e727fd06336ea07.zip |
Djangoization - Major refactoring (step 13)
* Fix finds wizards
* Clean-up an unecessary file
Diffstat (limited to 'archaeological_warehouse/wizards.py')
-rw-r--r-- | archaeological_warehouse/wizards.py | 2 |
1 files changed, 1 insertions, 1 deletions
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__'): |