added db migration data

This commit is contained in:
tkupek 2016-02-21 17:54:48 +01:00
parent 41cf0891b5
commit 065b7117db

View file

@ -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)