X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/907aba88951334676a259dccc8f7edd8934d5e00..b80bf559a37f6b0590689df52091233accd33126:/src/catalogue/models/collection.py?ds=inline diff --git a/src/catalogue/models/collection.py b/src/catalogue/models/collection.py index d964762ba..6f956c73e 100644 --- a/src/catalogue/models/collection.py +++ b/src/catalogue/models/collection.py @@ -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')),