From 7dae6706e2047ce4a0a5c6f914b0c8fc230417cf Mon Sep 17 00:00:00 2001 From: Madhusudan.C.S Date: Wed, 10 Nov 2010 07:02:57 +0530 Subject: Add a skeleton payment model. --HG-- branch : payments --- project/scipycon/registration/models.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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) + -- cgit