X-Git-Url: https://git.sommitrealweird.co.uk/sommitrealweird.git/blobdiff_plain/669ecb575b2280e4217b87c1922337f29ddaee69..5d2c22628bbba4eb7ea12a1f5e11bdcc6c866e03:/sommitrealweird/bpcms/models.py?ds=sidebyside diff --git a/sommitrealweird/bpcms/models.py b/sommitrealweird/bpcms/models.py index 0cb821b..38f18ff 100644 --- a/sommitrealweird/bpcms/models.py +++ b/sommitrealweird/bpcms/models.py @@ -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)