Re: Dictionary access within a template

2008-04-18 Thread [EMAIL PROTECTED]
There is no current way to do this(there was a thread on django-dev a few weeks ago and there was no consensus on syntax), what I would do is create a very simple filter, if will be all of 3 lines long and will accomplish what you need. On Apr 18, 2:47 pm, Salim Fadhley <[EMAIL PROTECTED]>

Dictionary access within a template

2008-04-18 Thread Salim Fadhley
In my example "reportdatedate" is a datetime object. "result" is a dict of dicts. The lines that attempt to access the dict cause a template syntax error ( because I invented the syntax myself ) - is there an alternative that means the same thing? I note that Django templates give me an obvious