|
|
@ -13,7 +13,7 @@ class ProjectForm(ModelForm): |
|
|
|
|
|
|
|
class Meta: |
|
|
|
model = Project |
|
|
|
exclude = ('pid', 'granted', 'username', 'realname', 'email', 'project_end_mail') |
|
|
|
exclude = ('pid', 'granted', 'username', 'realname', 'email', 'project_end_mail', 'survey_mail_send') |
|
|
|
widgets = {'start': AdminDateWidget(), |
|
|
|
'end': AdminDateWidget(),} |
|
|
|
|
|
|
@ -28,7 +28,7 @@ class VolunteerForm(ModelForm): |
|
|
|
|
|
|
|
class Meta: |
|
|
|
model = Volunteer |
|
|
|
exclude = ('granted',) |
|
|
|
exclude = ('granted','survey_mail_send') |
|
|
|
|
|
|
|
INTERN_CHOICES = [('PRO', 'Projektsteckbrief'), |
|
|
|
('HON', 'Ehrenamtsbescheinigung'), |
|
|
@ -41,21 +41,21 @@ class InternForm(ModelForm): |
|
|
|
|
|
|
|
class Meta: |
|
|
|
model = Volunteer |
|
|
|
exclude = ('granted',) |
|
|
|
exclude = ('granted','survey_mail_send') |
|
|
|
|
|
|
|
|
|
|
|
class LibraryForm(ModelForm): |
|
|
|
|
|
|
|
class Meta: |
|
|
|
model = Library |
|
|
|
exclude = ('realname', 'email', 'username', 'type', 'granted') |
|
|
|
exclude = ('realname', 'email', 'username', 'type', 'granted', 'survey_mail_send') |
|
|
|
|
|
|
|
class IFGForm(ModelForm): |
|
|
|
class Meta: |
|
|
|
model = IFG |
|
|
|
exclude = ('realname', 'email', 'username', 'granted') |
|
|
|
exclude = ('realname', 'email', 'username', 'granted', 'survey_mail_send') |
|
|
|
|
|
|
|
class HonoraryCertificateForm(ModelForm): |
|
|
|
class Meta: |
|
|
|
model = HonoraryCertificate |
|
|
|
exclude = ('realname', 'email', 'username', 'granted') |
|
|
|
exclude = ('realname', 'email', 'username', 'granted', 'survey_mail_send') |