stop using get_host(...) method (not compatible with Django 1.5)

replaced with request.get_host()