added forms.py
authornishanth
Sat, 29 May 2010 09:48:43 +0530
changeset 8 e85ae25f920a
parent 7 98f2b5c2abc9
child 9 47f72774489e
added forms.py
sdi/forms.py
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sdi/forms.py	Sat May 29 09:48:43 2010 +0530
@@ -0,0 +1,10 @@
+from django import forms
+
+from sage_days.sdi.models import Registrant
+
+class RegisterForm(forms.ModelForm):
+    """ The form that is displayed to user.
+    """
+
+    class Meta:
+        model = Registrant