On 8/7/06, hotani <[EMAIL PROTECTED]> wrote:
> I'm doing a comparison of a session variable and an id for a 'selected'
> tag in a drop-down in a template. If I output both vars, they will both
> be "1" yet 'ifequal' is still returning false. Has water stopped being
> wet?

Perhaps one of them is the string "1", while the other is the integer
1? Those values are not equal, per Python's equality operators.

Adrian

-- 
Adrian Holovaty
holovaty.com | djangoproject.com

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to