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

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