On Sun, 2006-12-03 at 01:09 +0100, Kai Kuehne wrote:
> I must misunderstand something really basic here. Just look:
> 
> Template:
> <td>{{ movie.genres_title_list }}</td>
> 
> models.py:
>     def genres_title_list(self, separator=', '):
>         return separator.join([x.title for x in self.genres])
> 
> Prints nothing... idea anyone?
> Kai

Which class is that in? Movie?

Are you sure that the movie you're using has genre, i.e., have you tried
it in the shell?

Todd

--~--~---------~--~----~------------~-------~--~----~
 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to