Update views.py

Resolve: TypeError: render_to_string() got an unexpected keyword argument 'content'