I cannot load the image in my template, I tried changing all upload file location and everything else and its the same with category field

Issue models.py class product(models.Model): categoryChoices=[(‘food’,’Food’),(‘clothing’,’Clothing’),(‘books’,’Books’),(‘furniture’,’Furniture’),(‘others’,’Others’)] product_name=models.CharField(max_length=40) product_decsription=models.CharField(max_length=100) pub_date=models.DateTimeField(auto_now=True) image=models.ImageField(upload_to=’CharApp/images/’,default=”) address=models.CharField(max_length=200, default=”) city= models.CharField(max_length=40) station= models.CharField(max_length=40) category= models.CharField(choices=categoryChoices,max_length=30) Views.py def index(request):…

Read More →