]> git.sommitrealweird.co.uk Git - sommitrealweird.git/blobdiff - sommitrealweird/blog/models.py
fix: quick and dirty update to django 4.2
[sommitrealweird.git] / sommitrealweird / blog / models.py
index 16347546e110e58a1f93fec0b4a5db79b9da82be..9548a32b5b2a4fc1c445109c0292cd9a0b516fa3 100644 (file)
@@ -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()