# HG changeset patch # User Madhusudan.C.S # Date 1289352777 -19800 # Node ID 5e6411f210defe2c8d654226920df6a366f2c70c # Parent 9f826165250a20c3f97c3452ecf8cdf050a1ab29 Add a skeleton payment model. diff -r 9f826165250a -r 5e6411f210de 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) +