def deprecated_redirect(request, url, **kwargs):
    dest = reverse(url, kwargs=kwargs)
    proto = 'https://' if request.is_secure() else 'http://'
    host = Site.objects.get_current().domain
    return render(request, 'sumo/deprecated.html', {
        'dest': dest, 'proto': proto, 'host': host})
Redirect with an interstitial page telling folks to update their
dataset/ETHPy150Open mozilla/kitsune/kitsune/sumo/views.py/deprecated_redirect