title: Why is my django template context processor not getting called
body: <p>I must have missed something in setting up a custom template context as it's never getting called.</p>
  
  <p>In settings:</p>
  
  <pre><code>TEMPLATE_CONTEXT_PROCESSORS = (
      "django.core.context_processors.auth",
      "django.core.context_processors.debug",
      "django.core.context_processors.i18n",
      "django.core.context_processors.media",
      "django_authopenid.context_processors.authopenid",
      "web.context_processors.my_hat",
  )
  </code></pre>
  
  <p>in web/context_processors.py</p>
  
  <pre><code>from libs.utils import get_hat, get_project, my_hats
  
  print 'heloooo'
  
  def my_hat(request):
      """Insert some additional information into the template context
      """
       
      import pdb
      pdb.set_trace()
  
      print 'hiiiiiiii'
  
      return {'hat': get_hat(request),
          'project': get_project(request),
          }
  </code></pre>
  
  <p>nothing is output and django processes view and displays template without ever hitting this.  What have I missed!?</p>
  
  <p><strong>Thanks Insin, the bits I had missed:</strong></p>
  
  <p>In the view.py</p>
  
  <pre><code>return render_to_response(template, {
          'tasks': tasks,
      },
      context_instance=RequestContext(request))
  </code></pre>
  
  <p>In the template:</p>
  
  <pre><code>  My current hat is {{hat}}
  </code></pre>