diff options
author | Matthew Lemon <y@yulqen.org> | 2024-08-01 15:18:46 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-08-01 15:18:46 +0100 |
commit | 5f37a5839ff00f4f85c5e63e4dcb8246204c9386 (patch) | |
tree | c5a0cdd2fa3f1eae511bc74900937bb6d5d27fc6 /pyblackbird_cc/resources/forms.py | |
parent | b3d46f2ddbd7312e731e8a05e09a8b547439b2ff (diff) |
Fix error with validation on additional_resource_category
Diffstat (limited to 'pyblackbird_cc/resources/forms.py')
-rw-r--r-- | pyblackbird_cc/resources/forms.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/pyblackbird_cc/resources/forms.py b/pyblackbird_cc/resources/forms.py index efe1ccb..e905944 100644 --- a/pyblackbird_cc/resources/forms.py +++ b/pyblackbird_cc/resources/forms.py @@ -160,7 +160,6 @@ class ResourceUpdateMetadataForm(forms.ModelForm): super().__init__(*args, **kwargs) self.helper = FormHelper(self) self.helper.add_input(Submit("submit", "Submit")) - self.fields['additional_resource_category'].choices = _create_choices_tuple() error_css_class = "error" required_css_class = "required" |