dodanie wolontariatu do modelu
This commit is contained in:
parent
4dcb598519
commit
f9a932eebf
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user