The point for those "magic methods" in python is to provide a common api to them, it's the same reason you do len(sequence) instead of sequence.__len__(), or the reason we do 3 + 4 instead of 3.__add__(4).
On Jun 7, 2:42 am, "M.Ganesh" <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > Don't use the internal method, instead do unicode(self.location_type) > > + ' - ' > > Done. > > BTW is there any specific reason for this suggestion? > > Thanks > Ganesh --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---