Shortened up views code by using render_to_response()