From: certifiedloud Date: Wed, 30 Jul 2014 21:49:37 +0000 (-0600) Subject: Update models.py X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=8d2b2a1f523ce0c6f600ac827899d77ae3014981;p=django_quiz.git Update models.py --- diff --git a/quiz/models.py b/quiz/models.py index d84ecd9..c902497 100644 --- a/quiz/models.py +++ b/quiz/models.py @@ -467,14 +467,13 @@ class Question(models.Model): blank=True, null=True) - figure = models.ImageField(upload_to='uploads/%Y/%m/%d', - blank=True, - null=True) + content = models.CharField(max_length=1000, blank=False, help_text="Enter the question text that " "you want displayed", verbose_name='Question') + explanation = models.TextField(max_length=2000, blank=True, help_text="Explanation to be shown "