reg/models.py
changeset 102 f9466abf5ca2
parent 56 3858a9d0f376
equal deleted inserted replaced
101:fd9a1d16c5bb 102:f9466abf5ca2
    25 
    25 
    26     user = models.ForeignKey(User, unique=True)
    26     user = models.ForeignKey(User, unique=True)
    27     gender = models.CharField(max_length=1, choices=GENDER_CHOICES)
    27     gender = models.CharField(max_length=1, choices=GENDER_CHOICES)
    28     profession = models.CharField(max_length=1, choices=PROFESSION_CHOICES)
    28     profession = models.CharField(max_length=1, choices=PROFESSION_CHOICES)
    29     affiliated_to = models.CharField(max_length=100, verbose_name="College/Company")
    29     affiliated_to = models.CharField(max_length=100, verbose_name="College/Company")
    30     interests = models.CharField(max_length=100, verbose_name="Fields of Interest", 
    30     interests = models.CharField(max_length=100, verbose_name="Fields of Interest")
    31                                  help_text="Ex: Python, Image Processing, Bio Informatics etc.")
       
    32 
    31 
    33     activation_key = models.CharField(max_length=30, unique=True)
    32     activation_key = models.CharField(max_length=30, unique=True)
    34 
    33 
    35 class Event(models.Model):
    34 class Event(models.Model):
    36     """ A model for the workshop information.
    35     """ A model for the workshop information.