update pannel login and min price and auto collect static

This commit is contained in:
Parsa Nazer
2025-02-04 00:21:40 +03:30
parent 1f66684b04
commit 80b1259224
7 changed files with 51 additions and 29 deletions
+1
View File
@@ -89,6 +89,7 @@ class ProductModel(models.Model):
name = models.CharField(max_length=255, verbose_name='نام')
description = models.TextField(verbose_name='توضیحات')
price = models.PositiveIntegerField(default=0, verbose_name='قیمت')
min_price = models.PositiveIntegerField(verbose_name='قیمت کف', help_text='این قیمت برای کف قیمتی محصول در نظر گرفته میشود')
currency_type = (
('dollor', 'دلار'),
('toman', 'تومان'),