from django.template import RequestContext

def index(request):
    return render_to_response('index.html', {'settings': settings},
        context_instance=RequestContext(request))
Django: how to use settings in templates?