Re: Tutorial part 4 IndexError

2007-04-13 Thread jonathan_ou
Thanks! That was exactly it. I was using Mac OSX to develop and they use a different line ending character than Unix. Everything works correctly now. Thanks again. On Apr 13, 8:27 am, "Niels" <[EMAIL PROTECTED]> wrote: > I smell the sense of an end-of-line convention problem in django's > deb

Re: Tutorial part 4 IndexError

2007-04-13 Thread Niels
I smell the sense of an end-of-line convention problem in django's debug view. Could it be your sourcefile uses '\r' for end of line where django expects a '\n' ?? On Apr 13, 8:12 am, "jonathan_ou" <[EMAIL PROTECTED]> wrote: > I am using python 2.5 with django 0.96 rev 5005 using mysql database.

Tutorial part 4 IndexError

2007-04-12 Thread jonathan_ou
I am using python 2.5 with django 0.96 rev 5005 using mysql database. When I try to cast a vote via web forms in part 4 of the tutorial, I get the following error after I select a choice and submit the form: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versio