I'm writing a Google app engine app and obviously the default web app framework is a subset of Django. As such I'm using it's templating engine.
My question is if I have say the following code:
template_values = {
'first':first,
'second':second,
}
path = os.path.join(os.path.dirname(__file__), 'index.html')
self.response.out.write(template.render(path, template_values))
And I want to reference the template value first
in an externally included javascript file from index.html, do I just continue with the {{ first }}
usage I'd go with in index.html itself or do I need to tell the framework about example.js somehow too so that it knows to replace the reference there?