diff options
author | Madhusudan.C.S | 2010-11-15 14:59:46 +0530 |
---|---|---|
committer | Madhusudan.C.S | 2010-11-15 14:59:46 +0530 |
commit | 125069c0f25d4a4abc34ffadee70f0499581a571 (patch) | |
tree | 40d46ed216a9470b3f91cc43e39105f2cf10ff09 /project | |
parent | dd41b2b834a771d9b22b0fecc19e66ad50d16730 (diff) | |
download | scipycon-125069c0f25d4a4abc34ffadee70f0499581a571.tar.gz scipycon-125069c0f25d4a4abc34ffadee70f0499581a571.tar.bz2 scipycon-125069c0f25d4a4abc34ffadee70f0499581a571.zip |
Add paid boolean field to payment model to know whether the user has already paid the fees or not.
--HG--
branch : payments
Diffstat (limited to 'project')
-rw-r--r-- | project/scipycon/registration/models.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/project/scipycon/registration/models.py b/project/scipycon/registration/models.py index 2ab0752..77a6dae 100644 --- a/project/scipycon/registration/models.py +++ b/project/scipycon/registration/models.py @@ -118,6 +118,10 @@ class Payment(base_models.ScopedBase): user = models.ForeignKey(User) + paid = models.BooleanField( + default=False, blank=True, verbose_name="Amount paid", + help_text="Check this box if you have already paid the fees.") + type = models.CharField(max_length=25, choices=PAYMENT_MODE_CHOICES, verbose_name="Type", blank=True, null=True) |