profile/models.py
changeset 61 8f50caa63cd1
parent 40 60f363b6e9d8
equal deleted inserted replaced
60:696309b5ad59 61:8f50caa63cd1
    18 
    18 
    19 class Profile(models.Model):
    19 class Profile(models.Model):
    20     
    20     
    21     uniq_key = models.CharField(max_length=20)
    21     uniq_key = models.CharField(max_length=20)
    22 
    22 
       
    23     full_name = models.CharField(max_length=50, verbose_name="Name as on bank\
       
    24                                  account", help_text="Any DD/Cheque will be\
       
    25                                  issued on this name")
    23     user = models.ForeignKey(User, unique = True)
    26     user = models.ForeignKey(User, unique = True)
    24     rights = models.CharField(max_length = 2, choices = RIGHTS_CHOICES, default = u"CT")
    27     rights = models.CharField(max_length = 2, choices = RIGHTS_CHOICES, default = u"CT")
    25     pynts = models.PositiveSmallIntegerField(default = 0)
    28     pynts = models.PositiveSmallIntegerField(default = 0)
    26     
    29     
    27     aboutme = models.TextField(blank = True, help_text="This information will\
    30     aboutme = models.TextField(blank = True, help_text="This information will\