Remove the paid field from model form since it is now a dummy form field.
--- a/project/scipycon/registration/forms.py Tue Nov 16 17:36:21 2010 +0530
+++ b/project/scipycon/registration/forms.py Tue Nov 16 17:36:53 2010 +0530
@@ -132,6 +132,10 @@
"""SciPyCon Payment form
"""
+ paid = forms.BooleanField(
+ required=False, label="Amount paid",
+ help_text="Check this box if you have already paid the fees.")
+
def save(self, user, scope):
try:
payment = Payment.objects.get(user=user, scope=scope)
@@ -142,7 +146,6 @@
type = self.cleaned_data['type']
details = self.cleaned_data['details']
- payment.paid = paid
payment.type = type
payment.details = details