diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-01-24 13:49:56 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-02-28 12:15:23 +0100 |
commit | 248699d3afaae0062035392bf7c5d9e213595b52 (patch) | |
tree | 367805b44d73cd0dc7cba775fe05693f81d12f30 /archaeological_warehouse/forms.py | |
parent | 8896cb7dc9d760e4b3769b72c6af83b8a0b81eda (diff) | |
download | Ishtar-248699d3afaae0062035392bf7c5d9e213595b52.tar.bz2 Ishtar-248699d3afaae0062035392bf7c5d9e213595b52.zip |
Container: fix collection field (not mandatory)
Diffstat (limited to 'archaeological_warehouse/forms.py')
-rw-r--r-- | archaeological_warehouse/forms.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/archaeological_warehouse/forms.py b/archaeological_warehouse/forms.py index 050a62e7d..b5a9b4391 100644 --- a/archaeological_warehouse/forms.py +++ b/archaeological_warehouse/forms.py @@ -293,7 +293,8 @@ class ContainerForm(CustomForm, ManageOldType, forms.Form): associated_model=models.Warehouse, new=True), validators=[valid_id(models.Warehouse)], help_text=_("Automatically attached to the current warehouse if not " - "filled.") + "filled."), + required=False ) comment = forms.CharField(label=_("Comment"), widget=forms.Textarea, required=False) |