On Dec 27, 2007 5:22 PM, Robert <[EMAIL PROTECTED]> wrote: > > Hi, Sorry about the misunderstanding. > > I am supposed to get this message when I try to add a new object: > <Choice: Not much> > > However, after having added a foreign key in the poll class I receive > this error instead: > > "Poll has no attribute choice" > > Why?
Did you do a reset? It sounds like you added the foreignkey after the fact and things are out of sync. A poll object should have a choice_set. Michael Trier blog.michaeltrier.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---