[Fixed]-Could not update model's data using django

1👍

You have mistake

    w.view_count =+1

which is assigning of 1 value to view_count variable instead of

    w.view_count += 1

which is using of += operator what you want to do actually

Leave a comment