mirror of
https://github.com/Hopiu/django-model-utils.git
synced 2026-04-01 03:00:33 +00:00
Silence BooleanField default warnings.
This commit is contained in:
parent
1152e7a329
commit
26f4d7c8f5
1 changed files with 2 additions and 2 deletions
|
|
@ -128,8 +128,8 @@ class StatusManagerAdded(StatusModel):
|
|||
|
||||
|
||||
class Post(models.Model):
|
||||
published = models.BooleanField()
|
||||
confirmed = models.BooleanField()
|
||||
published = models.BooleanField(default=False)
|
||||
confirmed = models.BooleanField(default=False)
|
||||
order = models.IntegerField()
|
||||
|
||||
objects = models.Manager()
|
||||
|
|
|
|||
Loading…
Reference in a new issue