No, authors is the related manager, so it's all method returns a QuerySet with all the relevant items.
On Jul 10, 8:25 am, Fernando Rodríguez <[EMAIL PROTECTED]> wrote: > El mié, 09-07-2008 a las 06:40 -0700, urukay escribió: > > > > > this should work: > > > def get_authors(self): > > return self.authors.all() > > Thanks Radovan. Shouldn't it be self.authors.objects.all()? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---