rerender_to_response changed to render
removed csrf importing
renamed views.py to ajax.py