Update views.py

This fixes issues with Django 1.5. django.http.get_host() was replaced with request.get_host()