your regex is r'^my_page/(?P<btn>.* but your search string ("
/my_page/?btn=view_page&sel=Profile") begins with "/". According to your
regex, search string must begin with "my_page".On Fri, Mar 1, 2013 at 5:24 PM, JAGANADH G <[email protected]> wrote: > Hi , > > I was trying to write a url pattern for URL like this > /my_page/?btn=view_page&sel=Profile > > The pattern which I wrote is url(r'^my_page/(?P<btn>.*)', > 'my_app.views.my_page', name="my_page"), > > It does not works for me . > > Can anybody tell me what is wrong with this and way to correct the same > > -- > ********************************** > JAGANADH G > http://jaganadhg.in > *ILUGCBE* > http://ilugcbe.org.in > _______________________________________________ > BangPypers mailing list > [email protected] > http://mail.python.org/mailman/listinfo/bangpypers > _______________________________________________ BangPypers mailing list [email protected] http://mail.python.org/mailman/listinfo/bangpypers
