title: How can I handle query "?" in my django urls.py
body: <p>I am new to Django. I have to write a moke. My server will look at a specific address. 
  Like this:</p>
  
  <p><code>portal/client_api.ashx?client=SAPRA&amp;key=1234234&amp;func=status&amp;code=99999</code></p>
  
  <p>I wrote:</p>
  
  <h2>urls.py</h2>
  
  <pre><code>from django.conf.urls import patterns, url
  from rt_moke import views
  urlpatterns = patterns('',
      url(r'code=(?P&lt;code_id&gt;\w+)/', views.Sapata, name='sapata'),
      )
  </code></pre>
  
  <h2>and views.py</h2>
  
  <pre><code>from django.http import HttpResponse
  status = {u"99999": u'{"code": "99999","status": "undelivered"}',\
       u"88888": u'{"code": "88888","status": "delivered"}',\
       }
  def Sapata(request, code_id):
      return HttpResponse(status[code_id])
  </code></pre>
  
  <p>When I request for p<code>ortal/client_api.ashx?client=SAPRA&amp;key=1234234&amp;func=status&amp;code=99999</code> without <code>?</code> mark - it works, and with <code>?</code>- not. I understand, that it is query string and Django skips it in the regexp. So what can I do?</p>