Many-toMany with list_display in Admin-Site with django 1.1

7 views
Skip to first unread message

Tobias Kabbeck

unread,
Oct 31, 2009, 2:15:26 PM10/31/09
to Django users
I had the same problem and solved it with this suggestions. With
django 1.1 the admin-site has an output like this:

[<Author: Peter>, <Author: Hans>]

Somebody know how i could solve this? I don't want to output the
keywords nor parenthesis.

Thanks for tips

Tobias Kabbeck

unread,
Nov 1, 2009, 9:10:48 AM11/1/09
to Django users
Like described in this thread:

http://groups.google.com/group/django-users/browse_thread/thread/1f97ae29f23f71d4

with the method

def get_authors(self):
return self.authors.all()
Reply all
Reply to author
Forward
0 new messages