On Tue, Sep 2, 2008 at 1:27 PM, gauteh <[EMAIL PROTECTED]> wrote:
is there a different way to accomplish what im trying to do? or do i
> need to check in my view function for which subclass that exists:
> try:
>n = items.newsitem
> except DoesNotExist:
>pass
> try:
>l = items.linkitem
Hello
Im trying to create a webpage that displays several types of posts on
the front page, they all inherit from a basic Item class (say
BasicItem). On the front page I query for BasicItem.objects.all()
[0:20] and I want to pass them on to my template and let my template
render each item based o
2 matches
Mail list logo