I found a solution for the problem i'd described in
http://groups.google.com/group/django-users/t/4cf5bd195cd0ebac?hl=en
You can get an output without the keywords and parenthesis if you
change the method like this:
def get_authors(self):
return '%s' % (', '.join(a.name for a in self.authors.all()))
This will join the authors with a comma.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
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.