django accepting GET parameters

Posted by tipu on Stack Overflow See other posts from Stack Overflow or by tipu
Published on 2010-05-23T11:01:02Z Indexed on 2010/05/23 11:10 UTC
Read the original article Hit count: 361

Filed under:
|
|

I want the index page to accept parameters, whether it be

mysite.com/search/param_here 

or

mysite.com/?search=param_here

I have this in my URL patterns but I can't get it to work.. any suggestions?

urlpatterns = patterns('',
        (r'^$/(?P<tag>\w+)', 'twingle.search.views.index'),
    )

© Stack Overflow or respective owner

Related posts about django

Related posts about url