title: Django templating engine and external js files
body: <p>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.</p>
  
  <p>My question is if I have say the following code:</p>
  
  <pre><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))
  </code></pre>
  
  <p>And I want to reference the template value <code>first</code> in an externally included javascript file from index.html, do I just continue with the <code>{{ first }}</code> 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?</p>