X-Git-Url: https://git.sommitrealweird.co.uk/sommitrealweird.git/blobdiff_plain/2d5a803e2b8bd6ed72de946d4cfbb7b880493bf6..9e81338188b8277ee838ac19a083c552320097ef:/sommitrealweird/blog/models.py?ds=sidebyside diff --git a/sommitrealweird/blog/models.py b/sommitrealweird/blog/models.py index 1634754..9548a32 100644 --- a/sommitrealweird/blog/models.py +++ b/sommitrealweird/blog/models.py @@ -9,7 +9,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()