You should use RequestContext
in place of Context
:
from django.template import RequestContext
###
###
c = RequestContext(request, {'program': program})
Also, you must have django.core.context_processors.request
in TEMPLATE_CONTEXT_PROCESSORS.