--- a/sdi/forms.py Sat Jul 17 01:08:40 2010 +0530
+++ b/sdi/forms.py Sat Jul 17 01:14:36 2010 +0530
@@ -1,7 +1,7 @@
from django import forms
from django.contrib.auth import authenticate
-from sage_days.sdi.models import Registrant, TOPICS_CHOICES
+from sage_days.sdi.models import Registrant, TOPICS_CHOICES, ParticipantInfo
from captcha.fields import CaptchaField
class RegisterForm(forms.ModelForm):
@@ -181,3 +181,8 @@
return myF(post_data) if post_data else myF()
+class ParticipantInfoForm(forms.ModelForm):
+
+ class Meta:
+ model = ParticipantInfo
+ exclude = ['participant']