X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/75957f735219259d3b4bc361f80ccd3d7b92a0e9..9574b970bdd6e28fc6178b736e8e17dfca15fd4e:/src/catalogue/models/collection.py diff --git a/src/catalogue/models/collection.py b/src/catalogue/models/collection.py index 739ad78ec..d964762ba 100644 --- a/src/catalogue/models/collection.py +++ b/src/catalogue/models/collection.py @@ -17,6 +17,10 @@ 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')))) + role = models.CharField(max_length=128, blank=True, db_index=True, choices=[ + ('', '–'), + ('recommend', _('recommended')), + ]) class Meta: ordering = ('title',)