From bb5ca32767ce6a25b72e03a4ebebd0648bc0cd42 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 12 Jul 2019 18:54:30 +0200 Subject: Basket: manage slug and public (for admin only) --- ishtar_common/models.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ishtar_common') diff --git a/ishtar_common/models.py b/ishtar_common/models.py index dc7c219ac..bcde57ea3 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -4574,6 +4574,8 @@ class Basket(FullSearch, OwnPerms): IS_BASKET = True label = models.CharField(_("Label"), max_length=1000) comment = models.TextField(_("Comment"), blank=True, null=True) + slug = models.SlugField(_("Slug"), blank=True, null=True) + public = models.BooleanField(_("Public"), default=False) user = models.ForeignKey( IshtarUser, blank=True, null=True, related_name='%(class)ss', on_delete=models.SET_NULL, -- cgit v1.2.3