title: Django, template context processors
body: <p>I have a weird problem, I want to add a global query using context processors. 
  This is how I did it by <a href="http://www.b-list.org/weblog/2006/jun/14/django-tips-template-context-processors/" rel="noreferrer">following</a>:</p>
  
  <p>made a processor.py in my app as such:</p>
  
  <pre><code>from myproject.myapp.models import Foo
  
  def foos(request):
      return {'foos': Foo.objects.all()}
  </code></pre>
  
  <p>and at the end of my setting.py I have added this:</p>
  
  <pre><code>TEMPLATE_CONTEXT_PROCESSORS = ('myapp.processor.foos',)
  </code></pre>
  
  <p>Lastly I pass my view as this:</p>
  
  <pre><code>def index_view(request):
  
      return render_to_response('index.html', {}, context_instance=RequestContext(request))
  </code></pre>
  
  <p>and at my index.html template:</p>
  
  <pre><code>&lt;select id="select_foo"&gt;
  {% for foo in foos %}
      &lt;option value="/{{ foo.slug }}"&gt;{{ foo.name }}&lt;/option&gt;
  {% endfor %}
  &lt;/select&gt;
  </code></pre>
  
  <p>And lastly my url:</p>
  
  <pre><code>(r'^$', 'myapp.views.index_view'),
  </code></pre>
  
  <p>My foos display without any problem, however my media_url and other contexts are gone.
  What can be the issue</p>