Dear Bruno, thank you very much for your help!! bruno desthuilliers wrote: [...] > Yeps : you're calling an instancemethod on a class. For what you're > trying to do, you need classmethods, ie: > > @classmethod > def verbosename(cls): > return unicode(cls._meta.verbose_name)
It did the trick! Now everything's fine. And I advanced a small step into the Python world. See ya, -- Fabio Natali --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---