Retrieve/set the urlconf for the request. Return the view resolved, with its args and kwargs.
(self, request)
| 300 | return response |
| 301 | |
| 302 | def resolve_request(self, request): |
| 303 | """ |
| 304 | Retrieve/set the urlconf for the request. Return the view resolved, |
| 305 | with its args and kwargs. |
| 306 | """ |
| 307 | # Work out the resolver. |
| 308 | if hasattr(request, "urlconf"): |
| 309 | urlconf = request.urlconf |
| 310 | set_urlconf(urlconf) |
| 311 | resolver = get_resolver(urlconf) |
| 312 | else: |
| 313 | resolver = get_resolver() |
| 314 | # Resolve the view, and assign the match object back to the request. |
| 315 | resolver_match = resolver.resolve(request.path_info) |
| 316 | request.resolver_match = resolver_match |
| 317 | return resolver_match |
| 318 | |
| 319 | def check_response(self, response, callback, name=None): |
| 320 | """ |
no test coverage detected