summaryrefslogtreecommitdiff
path: root/archaeological_operations/wizards.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-04-21 19:19:06 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-04-21 19:19:06 +0200
commit87f19f1fe6da40eaa43fcd8818045eaef5106ccf (patch)
tree80369e0fb9835db63089875e6f4e3963f501437d /archaeological_operations/wizards.py
parentdc95066523c28215f5e25104e357d8717cc200aa (diff)
downloadIshtar-87f19f1fe6da40eaa43fcd8818045eaef5106ccf.tar.bz2
Ishtar-87f19f1fe6da40eaa43fcd8818045eaef5106ccf.zip
Fix parcel formset initialisation
Diffstat (limited to 'archaeological_operations/wizards.py')
-rw-r--r--archaeological_operations/wizards.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_operations/wizards.py b/archaeological_operations/wizards.py
index 07206cc18..b9ff96cad 100644
--- a/archaeological_operations/wizards.py
+++ b/archaeological_operations/wizards.py
@@ -250,7 +250,7 @@ class OperationWizard(Wizard):
post_data = request.POST.copy()
# add all parcel from available in the archaeological file
- if not post_data.get('add_all_parcels'):
+ if not post_data.get('add_all_parcels', None):
return super(OperationWizard, self).post(*args, **kwargs)
file = self.get_current_file()