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
Source:stackexchange.com