FIX #15 and more #32
@@ -7,7 +7,9 @@ from ..models import Participant
|
|||||||
class ParticipantForm(forms.ModelForm):
|
class ParticipantForm(forms.ModelForm):
|
||||||
class Meta:
|
class Meta:
|
||||||
model = Participant
|
model = Participant
|
||||||
exclude = ['event', 'created_at', 'position', 'purge_at']
|
exclude = ['event', 'created_at', 'position',
|
||||||
|
'privacy_policy', 'privacy_policy_accepted',
|
||||||
|
'paid', 'purge_at']
|
||||||
widgets = {
|
widgets = {
|
||||||
'emergency_contact': forms.Textarea(attrs={'rows': 4}),
|
'emergency_contact': forms.Textarea(attrs={'rows': 4}),
|
||||||
'experience': forms.Textarea(attrs={'rows': 5}),
|
'experience': forms.Textarea(attrs={'rows': 5}),
|
||||||
|
|||||||
Reference in New Issue
Block a user