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

2010-01-05 Thread Tobias Kabbeck
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

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

2009-11-01 Thread Tobias Kabbeck
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() --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

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

2009-10-31 Thread Tobias Kabbeck
I had the same problem and solved it with this suggestions. With django 1.1 the admin-site has an output like this: [, ] Somebody know how i could solve this? I don't want to output the keywords nor parenthesis. Thanks for tips --~--~-~--~~~---~--~~ You received