mirror of
https://github.com/Hopiu/django-model-utils.git
synced 2026-03-17 04:10:24 +00:00
Fix BooleanField default (for Django trunk)
This commit is contained in:
parent
1d035661af
commit
2769e79796
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue