Hi Neal, I haven't tested this but it seems like you could use
if 'English' in session.languages Happy coding, Jeff On Mon, Jun 8, 2009 at 8:50 AM, NealWalters <[email protected]>wrote: > > I also tried this with no success: > > {% if session.languages['English'] %} > checked > {% endif %} > > which gives this error: > raise TemplateSyntaxError, "Could not parse the remainder: %s" % > token[upto:] > TemplateSyntaxError: Could not parse the remainder: ['English'] > > I guess this doesn't make sense because I have a list, not a > dictionary, of which "English" could just be one potential value. > > Please - what will work for this scenario? > > Thanks, > Neal > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
