I am trying to create a local proxy server in django, but I am unable to redirect the proxy requests to my view. In my system settings, I have set my django server as the proxy.
I am getting logs as such in my server:
[27/Dec/2016 22:01:40]"CONNECT www.google.co.in:443 HTTP/1.1" 404 1783
My URL configuration is:
url(r'^.*$', RedirectView.as_view(pattern_name=u'homepage', permanent=False))
What am I doing wrong while trying to redirect any browser request to my view?