Re: Using ifnotequal with a list object not working

2011-04-07 Thread aaron
Hi Ian, thank you so much for the quick response. It worked perfectly!! Cheers, A -- 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

Re: Using ifnotequal with a list object not working

2011-04-07 Thread Ian Clelland
On Thu, Apr 7, 2011 at 12:25 PM, aaron wrote: > Hi there, > I'm trying to do something quite simple within my html using ifnotequal (dj > 0.96). The code within my html is as follows: >             {% ifnotequal {{the_types.0}} "Nothing dude" %} >                 {{the_types.0}} >             {% e

Using ifnotequal with a list object not working

2011-04-07 Thread aaron
Hi there, I'm trying to do something quite simple within my html using ifnotequal (dj 0.96). The code within my html is as follows: {% ifnotequal {{the_types.0}} "Nothing dude" %} {{the_types.0}} {% endifnotequal %} This returns the contents of the_types.