Re: Getting the Model type of an unknown object?

2009-04-16 Thread BradMcGonigle
Bah! As usual...I figure this out right after posting something. This works: {% for object in stream_list %} {% ifequal object._meta.object_name 'Entry' %} On Apr 16, 4:33 pm, BradMcGonigle wrote: > Oddly enough I am trying to do the exact same thing Matt is trying to >

Re: Getting the Model type of an unknown object?

2009-04-16 Thread BradMcGonigle
Oddly enough I am trying to do the exact same thing Matt is trying to do. I tried this: {% for object in stream_list %} {% if object._meta.Entry %} but underscores are not allowed to start variables and attributes. Is there another way to do this at the template level or is my syntax jus

get_latest template tag and django-syncr issue

2009-02-18 Thread BradMcGonigle
I can't figure out what is going on here but I'm hoping someone can help. I am using James Bennett's get_latest templatetag ( http://www.b-list.org/weblog/2006/jun/07/django-tips-write-better-template-tags/ ) and am using django-syncr. Django Syncr works fine and syncs my twitter tweets just fin