I'd rather use the `render_to_string` helper tool here: https://docs.djangoproject.com/en/dev/ref/templates/api/#the-render-to-string-shortcut