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