From 125069c0f25d4a4abc34ffadee70f0499581a571 Mon Sep 17 00:00:00 2001 From: Madhusudan.C.S Date: Mon, 15 Nov 2010 14:59:46 +0530 Subject: Add paid boolean field to payment model to know whether the user has already paid the fees or not. --HG-- branch : payments --- project/scipycon/registration/models.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'project') 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) -- cgit