Re: ifequal tag in template with hard coded string confusion

2008-06-11 Thread John Teague
Thank you very much Karen - You clearly defined that problem for me and that fixed the issue. For others who might run into the same problem, they would do well to remember to add either __str__ or __uinicode__ as the case warrant:s: {% ifequal foo.bar__str__ "foobar" %} or {% ifequal foo.bar_

Re: ifequal tag in template with hard coded string confusion

2008-06-10 Thread Karen Tracey
On Tue, Jun 10, 2008 at 5:33 PM, John Teague <[EMAIL PROTECTED]> wrote: > > First the particulars: > Django svn rev 7610, > Apache 2.2.8, > mod_python 3.3.1, > Python/2.5.2 > > I have a template that uses django_template_utils (http:// > code.google.com/p/django-template-utils/) to retrieve object

ifequal tag in template with hard coded string confusion

2008-06-10 Thread John Teague
First the particulars: Django svn rev 7610, Apache 2.2.8, mod_python 3.3.1, Python/2.5.2 I have a template that uses django_template_utils (http:// code.google.com/p/django-template-utils/) to retrieve objects. The following is the relevant markup/code: -- {% load generic_content %} {% ge