@login_required
def login_protected_redirect_view(request):
 return HttpResponseRedirect('/get_view/')

@ login_required def login_protected_redirect_view ( request ) : return HttpResponseRedirect ( '/get_view/' )
a view that redirects all requests to the get view .