We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a844a89 commit a9bc8b6Copy full SHA for a9bc8b6
rest_framework-stubs/response.pyi
@@ -1,6 +1,7 @@
1
from collections.abc import Mapping
2
from typing import Any
3
4
+from django.core.handlers.wsgi import WSGIRequest
5
from django.template.base import Template
6
from django.template.response import SimpleTemplateResponse
7
from django.test.utils import ContextList
@@ -38,6 +39,7 @@ class _MonkeyPatchedResponse(Response):
38
39
context: ContextList | dict[str, Any]
40
redirect_chain: list[tuple[str, int]]
41
request: dict[str, Any]
42
+ wsgi_request: WSGIRequest
43
resolver_match: ResolverMatch
44
templates: list[Template]
45
def json(self) -> Any: ...
0 commit comments