# HG changeset patch # User Madhusudan.C.S # Date 1289813386 -19800 # Node ID 0fc144c69e84c4043c1eeee5b957efcb466f34c7 # Parent 2907855f18c442195d9113eed72c0a38f2041010 Add paid boolean field to payment model to know whether the user has already paid the fees or not. diff -r 2907855f18c4 -r 0fc144c69e84 project/scipycon/registration/models.py --- a/project/scipycon/registration/models.py Mon Nov 15 14:59:13 2010 +0530 +++ b/project/scipycon/registration/models.py Mon Nov 15 14:59:46 2010 +0530 @@ -118,6 +118,10 @@ 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)