16 ("3", "Solved some basic problems using Sage"), |
16 ("3", "Solved some basic problems using Sage"), |
17 ("2", "I know for sure that Sage is a language"), |
17 ("2", "I know for sure that Sage is a language"), |
18 ("1", "No clue what Sage is"), |
18 ("1", "No clue what Sage is"), |
19 ) |
19 ) |
20 |
20 |
|
21 TOPICS_CHOICES = (("1", "Topic 1"), |
|
22 ("2", "Topic 2"), |
|
23 ("3", "Topic 3"), |
|
24 ("4", "Topic 4"), |
|
25 ("5", "Topic 5"), |
|
26 ) |
|
27 |
21 LIKELINESS_CHOICES = (('5', "Will attend at any cost"), |
28 LIKELINESS_CHOICES = (('5', "Will attend at any cost"), |
22 ('4', "Will attend most probably"), |
29 ('4', "Will attend most probably"), |
23 ('3', "Unsure of attending"), |
30 ('3', "Unsure of attending"), |
24 ('2', "Might not attend"), |
31 ('2', "Might not attend"), |
25 ('1', "Will not attend"), |
32 ('1', "Will not attend"), |
33 last_name = models.CharField(max_length=30) |
40 last_name = models.CharField(max_length=30) |
34 email = models.EmailField() |
41 email = models.EmailField() |
35 gender = models.CharField(max_length=1, choices=GENDER_CHOICES) |
42 gender = models.CharField(max_length=1, choices=GENDER_CHOICES) |
36 |
43 |
37 profession = models.CharField(max_length=20) |
44 profession = models.CharField(max_length=20) |
38 affiliated_to = models.CharField(max_length=30) |
45 affiliated_to = models.CharField(max_length=30, verbose_name="Affiliated Institution/Company") |
39 |
46 |
40 topics_interested = models.CharField(max_length=30, blank=True) |
47 topics_interested = models.CharField(max_length=30, blank=True) |
41 |
48 |
42 knowledge_of_python = models.CharField(max_length=1, choices=PYTHON_KNOWLEDGE_CHOICES) |
49 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") |
50 need_for_python_workshop = models.BooleanField(verbose_name="Do you need a workshop on Python before you attend Sage Days") |
44 |
51 |
45 knowledge_of_sage = models.CharField(max_length=1, choices=SAGE_KNOWLEDGE_CHOICES) |
52 knowledge_of_sage = models.CharField(max_length=1, choices=SAGE_KNOWLEDGE_CHOICES) |
46 tools_used = models.TextField(help_text="Ex: Scilab, Mathematica, Matlab etc.", verbose_name="Other tools used", blank=True) |
53 tools_used = models.TextField(help_text="Ex: Scilab, Mathematica, Matlab etc.", verbose_name="Other tools used", blank=True) |
47 |
54 |
48 address = models.TextField(help_text="To send DVD containing tutorials on Python if required.", blank=True) |
55 #address = models.TextField(help_text="To send DVD containing tutorials on Python if required.", blank=True) |
|
56 address = models.TextField(blank=True) |
49 phone_num = models.CharField(max_length=15, verbose_name="Phone Number", blank=True) |
57 phone_num = models.CharField(max_length=15, verbose_name="Phone Number", blank=True) |
50 |
58 |
51 likeliness_of_attending = models.CharField(max_length=1, choices=LIKELINESS_CHOICES) |
59 likeliness_of_attending = models.CharField(max_length=1, choices=LIKELINESS_CHOICES) |
52 |
60 |