(template_path, context_dict)
return _DjangoRenderTemplateSource(source, context_dict)
Renders a template specified by a file path with a give values dict.

  Args:
    template_path: (str) Path to file.
    context_dict: (dict) The dictionary to use for template evaluation.
  Returns:
    (str) The expanded template.
Renders a template specified by a file path with a give values dict.
Renders a template specified by a file path with a give values dict .
def DjangoRenderTemplate(template_path, context_dict):
  """Renders a template specified by a file path with a give values dict.

  Args:
    template_path: (str) Path to file.
    context_dict: (dict) The dictionary to use for template evaluation.
  Returns:
    (str) The expanded template.
  """

  source = files.GetFileContents(template_path).decode('utf-8')
  return _DjangoRenderTemplateSource(source, context_dict)
def DjangoRenderTemplate ( template_path , context_dict ) : source = files . GetFileContents ( template_path ) . decode ( 'utf-8' ) return _DjangoRenderTemplateSource ( source , context_dict )