diff options
| -rw-r--r-- | archaeological_warehouse/forms.py | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/archaeological_warehouse/forms.py b/archaeological_warehouse/forms.py index 080467e55..d56df8139 100644 --- a/archaeological_warehouse/forms.py +++ b/archaeological_warehouse/forms.py @@ -67,6 +67,8 @@ class WarehouseForm(forms.Form):                                     required=False)      def __init__(self, *args, **kwargs): +        if 'limits' in kwargs: +            kwargs.pop('limits')          super(WarehouseForm, self).__init__(*args, **kwargs)          self.fields['warehouse_type'].choices = \              models.WarehouseType.get_types() | 
