removed unnecessary code

This commit is contained in:
Oliver Zander 2025-11-10 18:14:40 +01:00 committed by Tobias Herre
parent d8b8f28442
commit f9898ee9b5
1 changed files with 0 additions and 4 deletions

View File

@ -264,10 +264,6 @@ class TermsForm(BaseApplicationForm):
class LiteratureForm(TermsForm): class LiteratureForm(TermsForm):
terms_accepted_url = settings.NUTZUNGSBEDINGUNGEN_LITERATURSTIPENDIUM terms_accepted_url = settings.NUTZUNGSBEDINGUNGEN_LITERATURSTIPENDIUM
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.fields['selfbuy_give_data'].required = True
class Meta: class Meta:
model = Literature model = Literature
fields = [ fields = [