On 8/25/06, Nicolas Steinmetz <[EMAIL PROTECTED]> wrote: > [snip] > > it seems it does not work... and I do not have : > > # Make sure our __str__() addition worked. > >>> Poll.objects.all() > [<Poll: What's up?>] > > instead of it I have : > > # objects.all() displays all the polls in the database. > >>> Poll.objects.all() > [<Poll: Poll object>] > Did you close your shell and restart it so that the changes can be imported?
I just checked the tutorial and you aren't expressly told that you have to do so, although it is implied. I suppose this is because a basic understanding of python is expected. -- ---- Waylan Limberg [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---