null boolean field, argh
This commit is contained in:
parent
113d6791af
commit
033385d6e8
|
@ -57,7 +57,7 @@ class Good(models.Model):
|
||||||
class Translation(models.Model):
|
class Translation(models.Model):
|
||||||
string = models.TextField(unique=True)
|
string = models.TextField(unique=True)
|
||||||
string_trans = models.TextField(blank=True, null=True)
|
string_trans = models.TextField(blank=True, null=True)
|
||||||
looked_at = models.BooleanField(default=False, null=True)
|
looked_at = models.NullBooleanField(default=False)
|
||||||
|
|
||||||
def __unicode__(self):
|
def __unicode__(self):
|
||||||
return "%s: %s" % (self.string, self.string_trans,)
|
return "%s: %s" % (self.string, self.string_trans,)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user