<link rel="import" href="{{url}}">
from urllib.request import urlopen
def detail(request):
page = urlopen('https://example.com/1.html')
charset = page.info().get_content_charset()
return render(request, 'detail.html', {'page':page.read().decode(charset)})
{{page|safe}}