title: Django wagtail accesing parent page variables from block templates
body: <p>I have created a stream block with a custom template in my models.py file for my 'work' page as:</p>
  
  <pre><code>section = StreamBlock( [ ('section', SectionStreamBlock( template = 'personal_web/blocks/work_block.html') ])
  </code></pre>
  
  <p>I am listing my 'work page' objects in a 'work-index page'. As  <code>work-index page  &gt; work page &gt; block</code></p>
  
  <p>Now I am trying to access the 'work page object' itself  in my block template. (I am using jinja2 )</p>
  
  <p>I know that I can not pass it via {% include_block block %}. </p>
  
  <p>Is there a way to pass it?</p>