From f9a932eebf4eef6bfaec6558f18e57022ae20b1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C4=99drzej=20Konopko?= Date: Wed, 30 Dec 2020 17:08:33 +0100 Subject: [PATCH] dodanie wolontariatu do modelu --- SocialHelper/homepage/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/SocialHelper/homepage/models.py b/SocialHelper/homepage/models.py index 14601b1..9cd7b6a 100644 --- a/SocialHelper/homepage/models.py +++ b/SocialHelper/homepage/models.py @@ -15,6 +15,7 @@ TYPE_O = ( class Product(models.Model): active = models.BooleanField(default=True) + Wolontatriat = models.BooleanField(default=False) picture = models.ImageField(null=True, blank=True, upload_to="images/") create_date = models.DateField(("Date"), default=datetime.date.today) user_iden = models.ForeignKey(User, on_delete=models.CASCADE)