sdi/models.py
changeset 18 7d587311a4b5
parent 15 1c2d2e702aee
child 19 3932d9426c44
equal deleted inserted replaced
17:ee98a9b44ef9 18:7d587311a4b5
    35     gender = models.CharField(max_length=1, choices=GENDER_CHOICES)
    35     gender = models.CharField(max_length=1, choices=GENDER_CHOICES)
    36 
    36 
    37     profession = models.CharField(max_length=20)
    37     profession = models.CharField(max_length=20)
    38     affiliated_to = models.CharField(max_length=30)
    38     affiliated_to = models.CharField(max_length=30)
    39 
    39 
    40     topics_interested = models.CharField(max_length=30)
    40     topics_interested = models.CharField(max_length=30, blank=True)
    41 
    41 
    42     knowledge_of_python = models.CharField(max_length=1, choices=PYTHON_KNOWLEDGE_CHOICES)
    42     knowledge_of_python = models.CharField(max_length=1, choices=PYTHON_KNOWLEDGE_CHOICES)
    43     need_for_python_workshop = models.BooleanField(verbose_name="Do you need a workshop on Python before you attend Sage Days")
    43     need_for_python_workshop = models.BooleanField(verbose_name="Do you need a workshop on Python before you attend Sage Days")
    44 
    44 
    45     knowledge_of_sage = models.CharField(max_length=1, choices=SAGE_KNOWLEDGE_CHOICES)
    45     knowledge_of_sage = models.CharField(max_length=1, choices=SAGE_KNOWLEDGE_CHOICES)