html = render_to_string('admin/enquiry/quoterequest/generate.html', {
    'enquiry': enquiry}, context_instance=RequestContext(request))
response = HttpResponse(content_type='application/pdf')
Base URL for Django, Behind Nginx Proxy