[BangPypers] Django url patterns help
Gora Mohanty
gora at mimirtech.com
Fri Mar 1 12:59:26 CET 2013
On 1 March 2013 17:24, 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 "?btn=view_page&sel=Profile" is not part of the
URL, but is a query string. The URL is simply /my_page
Within the Django view, you can get the query string
parameters with, e.g.,
request.GET.get( 'btn' )
Regards,
Gora
More information about the BangPypers
mailing list