From 033385d6e82c1a5d42aadfa4e5686353b6f177bf Mon Sep 17 00:00:00 2001 From: Sanj Date: Sat, 18 Feb 2012 18:26:31 +0530 Subject: [PATCH] null boolean field, argh --- manifests/ships/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/ships/models.py b/manifests/ships/models.py index 787be48..373902b 100644 --- a/manifests/ships/models.py +++ b/manifests/ships/models.py @@ -57,7 +57,7 @@ class Good(models.Model): class Translation(models.Model): string = models.TextField(unique=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): return "%s: %s" % (self.string, self.string_trans,)