Fix BooleanField default (for Django trunk)

This commit is contained in:
Trey Hunner 2013-03-27 22:43:21 -07:00
parent 1d035661af
commit 2769e79796

View file

@ -191,7 +191,7 @@ class AbidingManager(PassThroughManager):
class Dude(models.Model):
abides = models.BooleanField(default=True)
name = models.CharField(max_length=20)
has_rug = models.BooleanField()
has_rug = models.BooleanField(default=False)
objects = PassThroughManager(DudeQuerySet)
abiders = AbidingManager()