summaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authorMadhusudan.C.S2010-11-15 14:59:46 +0530
committerMadhusudan.C.S2010-11-15 14:59:46 +0530
commit125069c0f25d4a4abc34ffadee70f0499581a571 (patch)
tree40d46ed216a9470b3f91cc43e39105f2cf10ff09 /project
parentdd41b2b834a771d9b22b0fecc19e66ad50d16730 (diff)
downloadscipycon-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.py4
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)