Render the content of a specific block tag from a Django template.
render_block_to_string
now optionally accepts a request
parameter. If given, a RequestContext
instead of a Context
is used when rendering with the Django templating engine. Contributed by @vintage. (#15)