diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2013-04-25 06:07:43 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2013-04-25 06:07:43 -0400 |
commit | e3640e5dde07a736d50f3712c8874c90a87cb50a (patch) | |
tree | 8988241b803d8b8c33f1098885909be47989f8ae /askbot/deps | |
parent | 246dbab915d0f0d3c4007307f4fa26fbe5e20680 (diff) | |
download | askbot-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.py | 4 |
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): |