summaryrefslogtreecommitdiffstats
path: root/askbot/deps
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-04-25 06:07:43 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-04-25 06:07:43 -0400
commite3640e5dde07a736d50f3712c8874c90a87cb50a (patch)
tree8988241b803d8b8c33f1098885909be47989f8ae /askbot/deps
parent246dbab915d0f0d3c4007307f4fa26fbe5e20680 (diff)
downloadaskbot-e3640e5dde07a736d50f3712c8874c90a87cb50a.tar.gz
askbot-e3640e5dde07a736d50f3712c8874c90a87cb50a.tar.bz2
askbot-e3640e5dde07a736d50f3712c8874c90a87cb50a.zip
removed get_host import
Diffstat (limited to 'askbot/deps')
-rw-r--r--askbot/deps/django_authopenid/views.py4
1 files 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):