Update wrapper.py

Add comments
Replace render_to_response with HttpResponse