Re: Django 1.8 tutorial-Chapter4: ValueError at /polls/1/vote/

2015-05-14 Thread Charito Romeo
Hi Alasdair, Thanks a lot for the help. It's working now. Cheers :) Charito On Thu, May 14, 2015 at 7:57 PM, Alasdair Nicol wrote: > On 14/05/15 02:50, charito.romeo wrote: > >> | >> > value="{{ >> choice.id }}"/> >> | >> > > The problem is that there is a new line in the middle of >

Re: Django 1.8 tutorial-Chapter4: ValueError at /polls/1/vote/

2015-05-14 Thread Alasdair Nicol
On 14/05/15 02:50, charito.romeo wrote: | | The problem is that there is a new line in the middle of "{{ choice.id }}". Change it to: value="{{ choice.id }}"/> Cheers, Alasdair -- Alasdair Nicol Developer, MEMSET mail: alasd...@memset.com web: http://www.memset.com/ Memset Lt

Django 1.8 tutorial-Chapter4: ValueError at /polls/1/vote/

2015-05-14 Thread charito.romeo
I am following the django 1.8 tutorial and I currently finished Part 4. My problem is when I tried to click on one of the radio buttons to vote, it gave me a ValueError below: ValueError at /polls/1/vote/ invalid literal for int() with base 10: '{{ choice.id }}' Request Method:POSTRequest