In the main `urls.py`:

```
url(r'^request/(Req_.*)/someoperation/',include(someoperation.urls))

```

In `someoperation.urls`:

```
url(r'^query$', queryPage),

```

`queryPage` looks like:

```
def queryPage(request, request_id):
    #somestuff
    return HttpResponse('OK')

```

The URL getting opened is:

```
myhost:myport/request/Req_ABCXYZ/someoperation/query

```

But I get this error:

```
ec/2014 05:41:18] ERROR [django.request:215] Internal Server Error: /request/Req_ABCXYZ/someoperation/query
Traceback (most recent call last):
  File "/opt/xyz/build/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
TypeError: queryPage() takes exactly 2 arguments (1 given)

```

What could be going on? I'm sure `Req_.*` matches `Req_ABCXYZ`; so it should be getting passed on to the view `queryPage`.

Any clue?