You're looking for `product`, but the model that you queried is `Task`.
On Fri, 26 Apr 2024 at 17:40, Abdou KARAMBIZI
wrote:
> Hello,
> *I have 2 models :*
>
> class Product(models.Model):
> product_id = models.AutoField(primary_key=True)
> product_name =
Hello,
*I have 2 models :*
class Product(models.Model):
product_id = models.AutoField(primary_key=True)
product_name = models.CharField(max_length=200)
price = models.IntegerField()
image =
models.ImageField(upload_to='images/products_images/',null=True,blank=True)
def
2 matches
Mail list logo