]> git.sommitrealweird.co.uk Git - sommitrealweird.git/blobdiff - sommitrealweird/bpcms/models.py
Initial port to django-1.7
[sommitrealweird.git] / sommitrealweird / bpcms / models.py
index 0cb821bdfdd80a2b55054cc76b7a22727f6a424e..38f18ffe47b400d68327ebcf73535d3fbb0130cd 100644 (file)
@@ -22,7 +22,7 @@ class CSSDocument(models.Model):
 
 class Document(models.Model):
     title = models.CharField(max_length=150)
-    islive = models.BooleanField()
+    islive = models.BooleanField(default=False)
     extracss = models.ManyToManyField(CSSDocument, null=True, blank=True)
     folder = models.ForeignKey('Folder', null=True, blank=True)
     format = models.CharField(max_length=10, choices=FORMAT_CHOICES)