DEV Community

vishnu vardhan
vishnu vardhan

Posted on

update custom model by rendering into html

Hi,
Greetings for the day!

This is Vishnuvardhan. I am fresher in Django.
Here I am unable to do below activity.
I have one table(custom model) having product details.(like, name, price, description) having 10 records.
I need a provision to update price and description.
for this, I would like to create one .html(update_product.html) file with three input fields.
while I select product, update_product.html should open by filing existing details.
After I will change price and description and submit. it should update to existing table.
Please guide/suggest me any reference links/blogs to achieve this.

Thanks in advance.
Vishnu.

Top comments (0)