|
@ -20,7 +20,7 @@ class VolunteerForm(ModelForm): |
|
|
('SOFT', 'Softwarestipendium'), |
|
|
('SOFT', 'Softwarestipendium'), |
|
|
('VIS', 'Visitenkarten, Mailingliste oder E-Mail-Adresse'), |
|
|
('VIS', 'Visitenkarten, Mailingliste oder E-Mail-Adresse'), |
|
|
('IFG', 'Kostenübernahme IFG-Anfrage'), |
|
|
('IFG', 'Kostenübernahme IFG-Anfrage'), |
|
|
('LIB', 'library'),] |
|
|
|
|
|
|
|
|
('LIT', 'Literaturstipendium'),] |
|
|
choice = ChoiceField(choices=CHOICES, widget=RadioSelect) |
|
|
choice = ChoiceField(choices=CHOICES, widget=RadioSelect) |
|
|
|
|
|
|
|
|
class Meta: |
|
|
class Meta: |
|
@ -30,7 +30,7 @@ class VolunteerForm(ModelForm): |
|
|
class LibraryForm(ModelForm): |
|
|
class LibraryForm(ModelForm): |
|
|
class Meta: |
|
|
class Meta: |
|
|
model = Library |
|
|
model = Library |
|
|
exclude = ('realname', 'email', 'username') |
|
|
|
|
|
|
|
|
exclude = ('realname', 'email', 'username', 'type') |
|
|
|
|
|
|
|
|
class IFGForm(ModelForm): |
|
|
class IFGForm(ModelForm): |
|
|
class Meta: |
|
|
class Meta: |
|
|