mirror of https://github.com/django/django.git
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:
parent
bf13c75c0d
commit
8c27247397
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue