# HG changeset patch # User nishanth # Date 1277981926 -19800 # Node ID 79ae8288b5ffc3d985a11f0e5916013918553283 # Parent 848c009b8a600d3c4467beb124747e017da8ab6b removed the restriction on code field and options field in models diff -r 848c009b8a60 -r 79ae8288b5ff quiz/models.py --- a/quiz/models.py Thu Jul 01 16:20:17 2010 +0530 +++ b/quiz/models.py Thu Jul 01 16:28:46 2010 +0530 @@ -38,8 +38,8 @@ topic = models.CharField(max_length=2,choices=TOPIC_CHOICES) description = models.TextField() - code = models.TextField() - options = models.TextField() + code = models.TextField(blank=True) + options = models.TextField(blank=True) time_limit = models.PositiveSmallIntegerField() expected_ans = models.TextField()