title: Wagtail blocks: accessing context and request in overridden get_context
body: <p>I trying to get the page and the request from context to be able to use pagination inside the block. The only context i get is </p>
  
  <blockquote>
    <p>context    {'self': None, 'value': None}</p>
  </blockquote>
  
  <p>Is it even possible to have pagination inside a streamfield block?</p>
  
  <pre><code>class CustomStaticBlock(blocks.StaticBlock):
  
  
      def get_context(self, value):
          context = super(CustomStaticBlock, self).get_context(value)
  </code></pre>
  
  <p>Rendering with</p>
  
  <pre><code>{% include_block block%}
  </code></pre>