summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadhusudan.C.S2010-11-10 07:02:57 +0530
committerMadhusudan.C.S2010-11-10 07:02:57 +0530
commit7dae6706e2047ce4a0a5c6f914b0c8fc230417cf (patch)
treef40fa5425f42870ef896527c40b5df4ae0414d5f
parentee1e89ae7fa1508194d326e708361a3d3a863dbb (diff)
downloadscipycon-7dae6706e2047ce4a0a5c6f914b0c8fc230417cf.tar.gz
scipycon-7dae6706e2047ce4a0a5c6f914b0c8fc230417cf.tar.bz2
scipycon-7dae6706e2047ce4a0a5c6f914b0c8fc230417cf.zip
Add a skeleton payment model.
--HG-- branch : payments
-rw-r--r--project/scipycon/registration/models.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/project/scipycon/registration/models.py b/project/scipycon/registration/models.py
index 70e7d04..90a8599 100644
--- a/project/scipycon/registration/models.py
+++ b/project/scipycon/registration/models.py
@@ -31,6 +31,12 @@ SEX_CHOICES = (
('Other', 'Other')
)
+PAYMENT_MODE_CHOICES = (
+ (),
+ (),
+ ()
+ )
+
class Wifi(base_models.ScopedBase):
"""Defines wifi options at SciPy.in
"""
@@ -104,3 +110,11 @@ class Registration(base_models.ScopedBase):
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)
+