slug key value added
This commit is contained in:
@@ -5,6 +5,7 @@ class Product(models.Model):
|
||||
name_uz = models.CharField(max_length=255)
|
||||
name_ru = models.CharField(max_length=255)
|
||||
image = models.ImageField(upload_to='products/')
|
||||
slug = models.CharField(max_length=255)
|
||||
|
||||
# Description (uz & ru)
|
||||
description_uz = models.TextField(blank=True, null=True)
|
||||
|
||||
Reference in New Issue
Block a user