diff options
Diffstat (limited to 'archaeological_warehouse/forms.py')
-rw-r--r-- | archaeological_warehouse/forms.py | 2 |
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") |