Re: "-" in template variables

2009-05-10 Thread Danne
rn value[key] register.filter("tumblr_var", tumblr_var) Thanks for your comments :) On May 10, 12:17 pm, Daniel Roseman <roseman.dan...@googlemail.com> wrote: > On May 10, 1:58 am, Danne <pingvingr...@gmail.com> wrote: > > > I'm using the Tumblr (http://

"-" in template variables

2009-05-09 Thread Danne
I'm using the Tumblr (http://www.tumblr.com) REST Api, and keys in returned json contains the character "-", like "post": {"regular- title": "asdf" .}. I'm having trouble printing this in the django templates since regular-title is an invalid variable name. I've tried stuff like: