Fix issues with Django 1.5 django.http.get_host() is now
request.get_host()

see : https://docs.djangoproject.com/en/dev/ref/request-response/#django.http.HttpRequest.get_host