Ah, I missed to delete `upvote` function in views. Views.py should be not modified.