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 PROTECTED]> wrote: > 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 a bit and see if I get the same error. > > On Apr 21, 2:46 pm, "Jay Parlar" <[EMAIL PROTECTED]> wrote: > > > 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-c...) > > > Sorry, I meant, what stage exactly did it break? ie., did you go > > through tutorial 2 step by step, checking that the Admin looks like it > > does in the tutorial, after each change, or did you just put in all > > the code and try it? It'd be helpful to know what the last part was > > that still worked, and what change caused it to break. > > > Jay P. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---