equal
deleted
inserted
replaced
30 ('Female', 'Female'), |
30 ('Female', 'Female'), |
31 ('Other', 'Other') |
31 ('Other', 'Other') |
32 ) |
32 ) |
33 |
33 |
34 PAYMENT_MODE_CHOICES = ( |
34 PAYMENT_MODE_CHOICES = ( |
35 (), |
35 ('Cheque', 'Cheque'), |
36 (), |
36 ('Demand Draft(DD)', 'Demand Draft(DD)'), |
37 () |
37 ('Net Banking', 'Net Banking') |
38 ) |
38 ) |
39 |
39 |
40 class Wifi(base_models.ScopedBase): |
40 class Wifi(base_models.ScopedBase): |
41 """Defines wifi options at SciPy.in |
41 """Defines wifi options at SciPy.in |
42 """ |
42 """ |
116 """Defines payment information for SciPy.in registrants |
116 """Defines payment information for SciPy.in registrants |
117 """ |
117 """ |
118 |
118 |
119 user = models.ForeignKey(User) |
119 user = models.ForeignKey(User) |
120 |
120 |
|
121 type = models.CharField(max_length=25, choices=PAYMENT_MODE_CHOICES, |
|
122 verbose_name="Type", blank=True, null=True) |
|
123 |
|
124 details = models.CharField( |
|
125 max_length=255, verbose_name="Details", |
|
126 help_text="If you made the payment using a cheque or a DD please " |
|
127 "provide the number on the cheque or DD. If you made the payment " |
|
128 "via Net Banking please provide the last four digits of the account " |
|
129 "number and the name of the account holder from which the transfer " |
|
130 "was made.", blank=True, null=True) |