| 84 | |
| 85 | # WSGI routing arguments here. |
| 86 | # This implementation is not complete because we would have to move |
| 87 | # a part of PATH_INFO to SCRIPT_NAME, which would break backwards |
| 88 | # compatibility. It's also incomplete because Django does not |
| 89 | # support mixing positional and named arguments |
| 90 | # (http://docs.djangoproject.com/en/dev/topics/http/urls/#the-matching-grouping-algorithm). |
| 91 | # For more information about this standard, see |
| 92 | # <http://wsgi.org/wsgi/Specifications/routing_args>. |
| 93 | routing_args = (callback_args, callback_kwargs.copy()) |
| 94 | request.environ['wsgiorg.routing_args'] = routing_args |