Add a skeleton payment model. payments
authorMadhusudan.C.S <madhusudancs@gmail.com>
Wed, 10 Nov 2010 07:02:57 +0530
branchpayments
changeset 244 5e6411f210de
parent 209 9f826165250a
child 245 6ba059b30281
Add a skeleton payment model.
project/scipycon/registration/models.py
--- 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)
+