(r'^/(?P<the_param>[a-zA-z0-9_-]+)/$','myproject.myapp.views.myview'),
How can I change this so that "the_param" accepts the URL (encoded) as a parameter?
So, I want to pass the URL to it.
mydomain.com/http%3A//google.com
Edit: Should I remove the regex like this ... and then it will work?
(g '^ / (? P [*]?) /? $', 'Myproject.myapp.views.myview'),
source
share