Just a guess but  topics is a queryset which goes to db and gets each
item which you then modify locally before calling object_list. Now
object list gets items from topics again but they are probably newly
generated objects so do not have a recent_posts attribute.

Why not just access {{post.post_set.all.-5.post_text}} directly in the
template (untested)?

-- 
Phil Davis

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