Re: Error - 'int' object is unsubscriptable

2007-04-21 Thread mateo
Jay, Thanks for all your help. I found this ticket (http:// code.djangoproject.com/ticket/3708) and switched from python 2.5 back to 2.4 and now everythings working fine. Since it's a known issue, I'll just leave it alone and continue on with 2.4. As for the indents, I think it's just the form

Re: Error - 'int' object is unsubscriptable

2007-04-21 Thread Jay Parlar
On 4/21/07, mateo <[EMAIL PROTECTED]> wrote: > > I've found that if I add the 'admin' subclass to the 'choices' class > and remove 'edit_inline=models.TABULAR, num_in_admin=3' from > the Foreign Key I can save new entries just fine. The error only pops > up when I have the 'choices' edited inline

Re: Error - 'int' object is unsubscriptable

2007-04-21 Thread mateo
I've found that if I add the 'admin' subclass to the 'choices' class and remove 'edit_inline=models.TABULAR, num_in_admin=3' from the Foreign Key I can save new entries just fine. The error only pops up when I have the 'choices' edited inline with the 'polls'. On Apr 21, 3:02 pm, mateo <[EMAIL P

Re: Error - 'int' object is unsubscriptable

2007-04-21 Thread mateo
I've been following the code step by step and checking along the way, but I didn't try to save anything up until the end of that section. The admin console itself works fine, it isn't until I hit 'save' (or one of it's variations) that I get the error. I will rollback the models.py tutorial code

Re: Error - 'int' object is unsubscriptable

2007-04-21 Thread Jay Parlar
On 4/21/07, mateo <[EMAIL PROTECTED]> wrote: > I am on part 2, 'Custominze the Admin Change List'. (http:// > www.djangoproject.com/documentation/tutorial02/#customize-the-admin-change-list) Sorry, I meant, what stage exactly did it break? ie., did you go through tutorial 2 step by step, checkin

Re: Error - 'int' object is unsubscriptable

2007-04-21 Thread mateo
> What stage of the tutorial, exactly, did this error occur at? Could > you also please copy and paste the contents of your models.py file > with your response? > > Jay P. I am on part 2, 'Custominze the Admin Change List'. (http:// www.djangoproject.com/documentation/tutorial02/#customize-the-a

Re: Error - 'int' object is unsubscriptable

2007-04-21 Thread Jay Parlar
On 4/21/07, mateo <[EMAIL PROTECTED]> wrote: > > List, > > When following the tutorial I get the below error when attempting a > save from the admin console. I'm new to Django and certainly not a > guru of any sort so I thought I would ask about it here first before > posting a bug report. I am

Error - 'int' object is unsubscriptable

2007-04-21 Thread mateo
List, When following the tutorial I get the below error when attempting a save from the admin console. I'm new to Django and certainly not a guru of any sort so I thought I would ask about it here first before posting a bug report. I am using the latest SVN release as of 4/21. Any ideas what mi