0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00

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.
This commit is contained in:
Anssi Kääriäinen 2013-10-01 20:26:19 +03:00
parent bf13c75c0d
commit 8c27247397

View File

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