mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-11 04:19:25 +00:00
Translate datepicker and add age limit to products
This commit is contained in:
@ -83,6 +83,8 @@ class Product(models.Model):
|
||||
special_selling_price = CurrencyField(_('special selling price'))
|
||||
icon = models.ImageField(upload_to='products', null=True, blank=True)
|
||||
club = models.ForeignKey(Club, related_name="products")
|
||||
limit_age = models.IntegerField(_('limit age'), default=0)
|
||||
tray = models.BooleanField(_('tray price'), default=False)
|
||||
|
||||
class Meta:
|
||||
verbose_name = _('product')
|
||||
|
Reference in New Issue
Block a user