10 Feb
2005
10 Feb
'05
10:17 p.m.
I've got a python script that maps a bunch of event records (results of a zSQL query) to a python dictionary, keyed by date. Inside the dtml-calendar tag, I'm trying to use the get() method to return the events for the day that the calendar iterator is on. I've tried a bunch of variations on this, but none of them return any results from the dictionary on days when there are definitely corresponding events. <dtml-in "myEvents.get(date.Date(), None)" mapping> <dtml-in "myEvents.get(date, None)" mapping> <dtml-in "myEvents.get(date)" mapping> how do I make this work? thanks -- David Siedband generation-xml.com