Following is from urls.py:
url(r'^\?view=(?P<vtype>instructor|course|room)$', 'index', name='index'),
i can verify that it works by simply calling django.core.urlresolvers.reverse in shell :
In [6]: reverse('index', args=["course"])
Out[6]: '/?view=course'
but when i try to access http://localhost:8000/?view=course i get 404.
What am i doing wrong here?
Thanks
Edit:
url('^search/\?user=(?P<userid>\d+)&type=topic', 'search_forum', name='my_topics'),
this is from a former project which works as expected. sigh...