title: need help to get jinja2 to work
body: <p>I am working on getting Jinja2 to work with Google AppEngine.  I have the following for my main.py code:</p>
  
  <pre><code>import os
  import webapp2
  import jinja2
  
  jinja_environment = jinja2.Environment(autoescape=True, 
      loader=jinja2.FileSystemLoader(os.path.join(os.path.dirname(__file__), 'templates')))
  
  class MainPage(webapp2.RequestHandler):
      def get(self):
          template_values = {
              'name': 'SomeGuy',
              'verb': 'extremely enjoy'
          }
  
      template = jinja_environment.get_template('index.html')
      self.response.out.write(template.render(template_values))
  
  webapp2.WSGIApplication([('/', MainPage)], debug=True)
  </code></pre>
  
  <p>This has been killing me for hours I would be grateful for some help.</p>
  
  <p>UPDATE:</p>
  
  <p>I have changed the code a bit to update the situation.  The logs are telling me:</p>
  
  <pre><code>ImportError: &lt;module 'main' from '/base/data/home/apps/s~devpcg/1.359633215335673018/main.pyc'&gt; has no attribute app
  </code></pre>
  
  <p>and the above code is all from my main.py folder.  I have a file index.html in a folder called templates that is in the same directory as the main.py file.</p>