title: Access request in django custom template tags, using the tag decorator
body: <p>There is a question with the same title and problem: <a href="https://stackoverflow.com/questions/2160261/access-request-in-django-custom-template-tags">Access request in django custom template tags</a></p>
  
  <p>The solution proposed, for instance pass <code>takes_context = True</code> to the decorator works perfectly well for tag helpers (<code>simple_tag</code>, <code>inclusion_tag</code> and <code>assignment_tag</code>) but not with the low-level <code>tag</code> decorator.</p>
  
  <pre><code>@register.tag(takes_context=True)
  def mytag(parser, token):
     ...
  </code></pre>
  
  <p>raises the exception :</p>
  
  <blockquote>
    <p>tag() got an unexpected keyword argument 'takes_context'</p>
  </blockquote>
  
  <p>2 questions :</p>
  
  <ul>
  <li>is there a reason why the <code>tag</code> decorator does accept the <code>takes_context</code> argument ?</li>
  <li>how can I access the template context with this decorator (and thus the request object) ?</li>
  </ul>