summaryrefslogtreecommitdiff
path: root/archaeological_warehouse/forms.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2020-06-09 12:05:37 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2021-02-28 12:15:20 +0100
commitcbe8d22ccecad9e09dd70f5fdbbd78bf497671a9 (patch)
treed59806d5799ac74b9134183fba5a0ecf8b762d65 /archaeological_warehouse/forms.py
parent8d908f14a8cd15734a522c17c144efe06e21416a (diff)
downloadIshtar-cbe8d22ccecad9e09dd70f5fdbbd78bf497671a9.tar.bz2
Ishtar-cbe8d22ccecad9e09dd70f5fdbbd78bf497671a9.zip
Fix container merge
Diffstat (limited to 'archaeological_warehouse/forms.py')
-rw-r--r--archaeological_warehouse/forms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_warehouse/forms.py b/archaeological_warehouse/forms.py
index fb345032e..cadfaaee1 100644
--- a/archaeological_warehouse/forms.py
+++ b/archaeological_warehouse/forms.py
@@ -298,7 +298,7 @@ class ContainerForm(CustomForm, ManageOldType, forms.Form):
kwargs.pop('limits')
super(ContainerForm, self).__init__(*args, **kwargs)
- def _clean_parent(self):
+ def clean_parent(self):
if not self.cleaned_data.get("parent", None):
return
warehouse_id = self.cleaned_data.get("location")