From e3640e5dde07a736d50f3712c8874c90a87cb50a Mon Sep 17 00:00:00 2001 From: Evgeny Fadeev Date: Thu, 25 Apr 2013 06:07:43 -0400 Subject: removed get_host import --- askbot/deps/django_authopenid/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/askbot/deps/django_authopenid/views.py b/askbot/deps/django_authopenid/views.py index a3762dbb..df6347f0 100644 --- a/askbot/deps/django_authopenid/views.py +++ b/askbot/deps/django_authopenid/views.py @@ -31,7 +31,7 @@ # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. import datetime -from django.http import HttpResponseRedirect, get_host, Http404 +from django.http import HttpResponseRedirect, Http404 from django.http import HttpResponse from django.http import HttpResponseBadRequest from django.template import RequestContext, Context @@ -180,7 +180,7 @@ def get_url_host(request): protocol = 'https' else: protocol = 'http' - host = escape(get_host(request)) + host = escape(request.get_host()) return '%s://%s' % (protocol, host) def get_full_url(request): -- cgit v1.2.3-1-g7c22