On Mon, 2006-12-18 at 19:57 -0600, James Bennett wrote: > Even if the types aren't known in advance, it's possible to make some > educated guesses; most classes will, for example, have a __str__ > method which will allow them to intelligently print themselves as > strings.
Actually every class instance has a __str__ method. If it's not over-ridden, it gets the one inherited from object (which is probably not what you want, but it's still there). Alan Trick --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---