We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6704290 commit ffee67bCopy full SHA for ffee67b
sponsors/forms.py
@@ -376,8 +376,6 @@ class SponsorBenefitAdminInlineForm(forms.ModelForm):
376
377
def __init__(self, *args, **kwargs):
378
super().__init__(*args, **kwargs)
379
- if "benefit_internal_value" in self.fields:
380
- self.fields["benefit_internal_value"].required = True
381
382
class Meta:
383
model = SponsorBenefit
sponsors/tests/test_forms.py
@@ -401,7 +401,6 @@ def setUp(self):
401
def test_required_fields_for_new_sponsor_benefit(self):
402
required_fields = [
403
"sponsorship",
404
- "benefit_internal_value",
405
]
406
407
form = SponsorBenefitAdminInlineForm({})
0 commit comments