It's urgent
I have a task,

How to Update a product Price in our database from excel sheet
for eg i have a product name ABC on my website, i want to update that price 
from an excel sheet


models.py
class Product(models.Model):
product_name=models.CharField(max_length=255,blank=True,null=True)
product_price=models.CharField(max_length=255,blank=True,null=True)

def __str__(self):
return str(self.product_name)

-- 
You received this message because you are subscribed to the Google Groups 
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-rest-framework+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-rest-framework/e6b91326-c723-4915-bfbe-fdc052edaa59n%40googlegroups.com.

Reply via email to