What exactly is your problem? Is latest_items empty in the template?

On Apr 26, 2:10 am, chatchai <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I use a modified version ofhttp://jellyroll.googlecode.com/by adding
> my own models into follow list (jellyrool.models.Item).  For example,
>
> Item.objects.follow_model(Post)
>
> After that, I added django-voting (http://django-
> voting.googlecode.com/) to my application list.
>
> The problem is, at the index page. I want to list latest item. If
> latest item is Post and it has Vote as well, I will show post and its
> vote. I also use template_utils (http://django-template-
> utils.googlecode.com/svn/trunk). My code look like this,
>
> {% load generic_content%}
> {% load voting_tags %}
> {% get_latest_objects aggregate.item 10 as latest_items %}
>
> I try to access voting for post in  latest_items and cannot find any
> solution.
>
> Any idea is my appreciated.
>
> Thanks
>
> Chatchai
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to