upload/forms.py
author Shantanu <shantanu@fossee.in>
Wed, 02 Sep 2009 19:34:48 +0530
changeset 2 4d2bbb2f3c4e
child 3 eb11f0116216
permissions -rw-r--r--
Added models and views.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
4d2bbb2f3c4e Added models and views.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
     1
from django import forms
4d2bbb2f3c4e Added models and views.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
     2
4d2bbb2f3c4e Added models and views.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
     3
from upload.model import Participant
4d2bbb2f3c4e Added models and views.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
     4
4d2bbb2f3c4e Added models and views.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
     5
class ParticipantForm(forms.ModelForm):
4d2bbb2f3c4e Added models and views.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
     6
	class Meta:
4d2bbb2f3c4e Added models and views.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
     7
		model = Participant
4d2bbb2f3c4e Added models and views.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
     8