X-Git-Url: https://git.sommitrealweird.co.uk/sommitrealweird.git/blobdiff_plain/6f8143cfb9188e2e6c1869a74dd6df9a66460fd4..6bec9dfd9d2ea3cc93ac1b5caab895140416c98c:/sommitrealweird/blog/models.py?ds=inline diff --git a/sommitrealweird/blog/models.py b/sommitrealweird/blog/models.py index f76de30..fa2e954 100644 --- a/sommitrealweird/blog/models.py +++ b/sommitrealweird/blog/models.py @@ -10,7 +10,7 @@ FORMAT_CHOICES = ( class BlogEntry(models.Model): title = models.CharField(max_length=150) - islive = models.BooleanField() + islive = models.BooleanField(default=False) sections = models.ManyToManyField('BlogSection') format = models.CharField(max_length=10, choices=FORMAT_CHOICES) slug = models.SlugField()