code: def subject_template(template, context):
      
      subject = loader.get_template(template).render(Context(context))
      return " ".join(subject.splitlines()).strip()
docs: Loads and renders an email subject template, returning the
      subject string.