I want to route the following uri to a view;
localhost:8000/?tag=Python
to
def index_tag_query(request, tag=None):
in my url conf, I've tried the following regex patterns but none seem to be capturing the request even though the regex looks good;
url(r'^\?tag=(?P<tag>\w+)/$', 'links.views.index_tag_query'),
url(r'^\/?\?tag=(?P<tag>\w+)/$', 'links.views.index_tag_query'),
url(r'^\/?\?tag=(?P<tag>.*)/$', 'links.views.index_tag_query'),
What gives?