From 8c27247397cf16b17d0153ae059593c5a468de01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anssi=20K=C3=A4=C3=A4ri=C3=A4inen?= Date: Tue, 1 Oct 2013 20:26:19 +0300 Subject: [PATCH] Added default value for a BooleanField in test models Test models introduced for #10733 didn't contain default value for a BooleanField(). Check command didn't like that -> check tests failed. --- tests/select_related_regress/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/select_related_regress/models.py b/tests/select_related_regress/models.py index f98b8269a8..0858c8fc2c 100644 --- a/tests/select_related_regress/models.py +++ b/tests/select_related_regress/models.py @@ -125,4 +125,4 @@ class B(Base): class C(Base): c_a = models.ForeignKey(A) c_b = models.ForeignKey(B) - is_published = models.BooleanField() + is_published = models.BooleanField(default=False)