sdi/forms.py
author nishanth
Sat, 29 May 2010 09:48:43 +0530
changeset 8 e85ae25f920a
child 19 3932d9426c44
permissions -rw-r--r--
added forms.py
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8
e85ae25f920a added forms.py
nishanth
parents:
diff changeset
     1
from django import forms
e85ae25f920a added forms.py
nishanth
parents:
diff changeset
     2
e85ae25f920a added forms.py
nishanth
parents:
diff changeset
     3
from sage_days.sdi.models import Registrant
e85ae25f920a added forms.py
nishanth
parents:
diff changeset
     4
e85ae25f920a added forms.py
nishanth
parents:
diff changeset
     5
class RegisterForm(forms.ModelForm):
e85ae25f920a added forms.py
nishanth
parents:
diff changeset
     6
    """ The form that is displayed to user.
e85ae25f920a added forms.py
nishanth
parents:
diff changeset
     7
    """
e85ae25f920a added forms.py
nishanth
parents:
diff changeset
     8
e85ae25f920a added forms.py
nishanth
parents:
diff changeset
     9
    class Meta:
e85ae25f920a added forms.py
nishanth
parents:
diff changeset
    10
        model = Registrant