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})

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 bookmarks .