[BangPypers] Django url patterns help
Bhimsen Kulkarni
bhimsen.pes at gmail.com
Fri Mar 1 13:01:09 CET 2013
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 <jaganadhg at gmail.com> 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
> BangPypers at python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>
More information about the BangPypers
mailing list