Unlisted collections.
[wolnelektury.git] / src / catalogue / models / collection.py
index d964762..6f956c7 100644 (file)
@@ -17,6 +17,7 @@ class Collection(models.Model):
     book_slugs = models.TextField(_('book slugs'))
     kind = models.CharField(_('kind'), max_length=10, blank=False, default='book', db_index=True,
                             choices=(('book', _('book')), ('picture', _('picture'))))
+    listed = models.BooleanField(_('listed'), default=True, db_index=True)
     role = models.CharField(max_length=128, blank=True, db_index=True, choices=[
         ('', '–'),
         ('recommend', _('recommended')),