Add a skeleton payment model.
--- a/project/scipycon/registration/models.py Tue Nov 09 12:51:22 2010 +0530
+++ b/project/scipycon/registration/models.py Wed Nov 10 07:02:57 2010 +0530
@@ -31,6 +31,12 @@
('Other', 'Other')
)
+PAYMENT_MODE_CHOICES = (
+ (),
+ (),
+ ()
+ )
+
class Wifi(base_models.ScopedBase):
"""Defines wifi options at SciPy.in
"""
@@ -104,3 +110,11 @@
return 'Registration for user: <%s %s> %s' % (
self.registrant.first_name,
self.registrant.last_name, self.registrant.email)
+
+
+class Payment(base_models.ScopedBase):
+ """Defines payment information for SciPy.in registrants
+ """
+
+ user = models.ForeignKey(User)
+