]> git.parisson.com Git - django_quiz.git/commitdiff
Update models.py
authorcertifiedloud <certifiedloud@gmail.com>
Wed, 30 Jul 2014 21:49:37 +0000 (15:49 -0600)
committercertifiedloud <certifiedloud@gmail.com>
Wed, 30 Jul 2014 21:49:37 +0000 (15:49 -0600)
quiz/models.py

index d84ecd9f8366e1ab348c295bc063cc72d29857d8..c90249750ab69725cdff07cdacc8940a43fb3e75 100644 (file)
@@ -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 "