Hello,

I was trying to do the tutorial again and was in tutorial 2 when I met with
a strange error. As per the tutorial I was adding the choices on to the edit
polls page. Now, when I select an existing poll (which was created with the
shell) and try to add another choice, it gives me a type error saying that
the int object is unsubscriptable. I tried asking the guys at #django, but
they too had no clue of the cause of the error.

Here is the pastebin of the code (models.py) and the error shown in the
browser with traceback - http://paste.ubuntu-nl.org/18127/

Hope some of you might be able to find where the problem is. FYI, am using
Python 2.5, Psycopg2, PostgreSQL 8.2 and Djanga 0.96 svn head.
-- 
With Regards


Parthan "Technofreak"

http://technofreakatchennai.wordpress.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to