added db migration data
This commit is contained in:
parent
41cf0891b5
commit
065b7117db
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue