I have two date fields: startdt and enddt. The template code that works is:
{% ifequal items.startdt items.enddt %} this says startdt and enddt are the same (as seen in the template) {% endifequal %} In postgres I have a date value in the startdt and enddt fields stored like this: 1999-01-08, which appears as Jan 08, 1999 in the template. I would like the Jan 08, 1999 value to appear as blank or nothing in the template. I tried this: {% ifequal items.startdt "1999-01-08" %} (this space should show nothing) (as not seen in the template) {% endifequal %} I get no error, but I also get no action for this syntax, either. Any help would be appreciated. --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---