From 5f37a5839ff00f4f85c5e63e4dcb8246204c9386 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Thu, 1 Aug 2024 15:18:46 +0100 Subject: Fix error with validation on additional_resource_category --- pyblackbird_cc/resources/forms.py | 1 - 1 file changed, 1 deletion(-) (limited to 'pyblackbird_cc') 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" -- cgit v1.2.3