Avoiding "TypeError: render_to_string() got an unexpected keyword argument 'content'" on Django 1.4.1