author | nishanth |
Sat, 29 May 2010 15:39:55 +0530 | |
changeset 19 | 3932d9426c44 |
parent 8 | e85ae25f920a |
child 20 | 9db4ee082d4e |
permissions | -rw-r--r-- |
8 | 1 |
from django import forms |
2 |
||
19 | 3 |
from sage_days.sdi.models import Registrant, TOPICS_CHOICES |
8 | 4 |
|
5 |
class RegisterForm(forms.ModelForm): |
|
6 |
""" The form that is displayed to user. |
|
7 |
""" |
|
8 |
||
19 | 9 |
topics_interested = forms.MultipleChoiceField(widget=forms.CheckboxSelectMultiple, choices=TOPICS_CHOICES) |
8 | 10 |
class Meta: |
11 |
model = Registrant |
|
19 | 12 |