equal
deleted
inserted
replaced
36 |
36 |
37 quiz_num = models.CharField(max_length=2, default="00") |
37 quiz_num = models.CharField(max_length=2, default="00") |
38 topic = models.CharField(max_length=2,choices=TOPIC_CHOICES) |
38 topic = models.CharField(max_length=2,choices=TOPIC_CHOICES) |
39 |
39 |
40 description = models.TextField() |
40 description = models.TextField() |
41 code = models.TextField() |
41 code = models.TextField(blank=True) |
42 options = models.TextField() |
42 options = models.TextField(blank=True) |
43 time_limit = models.PositiveSmallIntegerField() |
43 time_limit = models.PositiveSmallIntegerField() |
44 expected_ans = models.TextField() |
44 expected_ans = models.TextField() |
45 |
45 |
46 def __unicode__(self): |
46 def __unicode__(self): |
47 |
47 |