I have an issue with my site, receiving this error pretty often. It\'s the first time i\'ve run into this and maybe someone can shed some light as to why?
Traceb
You need to check URL in your template. you need to pass the integer id to url {{user.id}} because url need to have integer value in template. Ex. url:- /polls/{{user.id}}/
And in template first check your getting id or not like anywhere in template type sdhajdhgsjgd {{user.id}} kejhksdbjf and check your getting the integer value or not.
Hope this will work for others.