исправил

This commit is contained in:
KessPen
2024-05-15 16:10:08 +07:00
parent 887d873f0a
commit 75cfd20ffd

View File

@@ -56,7 +56,7 @@ class Review(models.Model):
MinValueValidator(1), MaxValueValidator(5)
])
product = models.ForeignKey(Product, on_delete=models.CASCADE)
icons = models.TextField('Изображение отзыва в BASE64', null=True)
icons = models.TextField('Изображение отзыва в BASE64', null=True, blank=True)
user = models.ForeignKey(User, on_delete=models.CASCADE)
date = models.DateTimeField('Дата создания отзыва', auto_now=True)