UPD: more registration staff on dav_events.
This commit is contained in:
1 parent
2dbab0032f
commit
9104d69dd7
11 files changed
+411
-46
No files matched your search
@@ -1,2 +1,3 @@
|
||||
from . import generic
|
||||
from . import events
|
||||
from . import participant
|
||||
@@ -0,0 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from django import forms
|
||||
|
||||
from ..models import Participant
|
||||
|
||||
|
||||
class ParticipantForm(forms.ModelForm):
|
||||
class Meta:
|
||||
model = Participant
|
||||
exclude = ['event', 'created_at', 'position', 'purge_at']
|
||||
widgets = {
|
||||
'emergency_contact': forms.Textarea(attrs={'rows': 4}),
|
||||
'experience': forms.Textarea(attrs={'rows': 5}),
|
||||
'note': forms.Textarea(attrs={'rows': 5}),
|
||||
}
|
||||
Reference in new issue
Block a user