update Django views part

* tell students what and when to do
* use ``render`` insted of ``render_to_response``
* add missing imports