]> git.0d.be Git - chloro.git/blobdiff - chloro/phyll/models.py
misc: extend notes with a "published" flag
[chloro.git] / chloro / phyll / models.py
index 230738930d3be022e583bdfde77b5ddb6b141af0..1f9914b53ca154238a78c964276874cfa38a2006 100644 (file)
@@ -26,6 +26,7 @@ class Note(models.Model):
     slug = models.SlugField(_('Slug'), max_length=150)
     text = RichTextField(_('Text'), blank=True, null=True)
     tags = TaggableManager(_('Tags'), blank=True)
+    published = models.BooleanField(_('Published'), default=True)
     creation_timestamp = models.DateTimeField(auto_now_add=True)
     last_update_timestamp = models.DateTimeField(auto_now=True)