mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-30 22:29:32 +00:00
Add comment in product type
This commit is contained in:
1 parent
cd4b0d8e0c
commit
6113de33ec
4 files changed
+26
-2
No files matched your search
@@ -112,6 +112,7 @@ class ProductType(models.Model):
|
||||
"""
|
||||
name = models.CharField(_('name'), max_length=30)
|
||||
description = models.TextField(_('description'), null=True, blank=True)
|
||||
comment = models.TextField(_('comment'), null=True, blank=True)
|
||||
icon = models.ImageField(upload_to='products', null=True, blank=True)
|
||||
|
||||
class Meta:
|
||||
|
||||
Reference in new issue
Block a user