diff --git a/tkupek_elearning/elearning/models.py b/tkupek_elearning/elearning/models.py index d8625f7..004eb99 100644 --- a/tkupek_elearning/elearning/models.py +++ b/tkupek_elearning/elearning/models.py @@ -13,7 +13,7 @@ class Setting(models.Model): message_access_denied = models.TextField(null=True) message_already_answered = models.TextField(null=True) button_solution = models.CharField(max_length=100, null=True) - logo = models.CharField(max_length=256, null=True) + logo = models.CharField(max_length=256, null=False) active = models.BooleanField(unique=True, default=False) def __unicode__(self): @@ -30,7 +30,6 @@ class Question(models.Model): return self.title - class Option(models.Model): text = models.CharField(max_length=100, null=True) correct = models.BooleanField(null=False, default=False)