diff --git a/django-stubs/test/client.pyi b/django-stubs/test/client.pyi index 3e553aa2b..678e03a97 100644 --- a/django-stubs/test/client.pyi +++ b/django-stubs/test/client.pyi @@ -60,7 +60,9 @@ def encode_multipart(boundary: str, data: dict[str, Any]) -> bytes: ... def encode_file(boundary: str, key: str, file: Any) -> list[bytes]: ... _GetDataType: TypeAlias = ( - Mapping[str, str | bytes | Iterable[str | bytes]] | Iterable[tuple[str, str | bytes | Iterable[str | bytes]]] | None + Mapping[str, str | bytes | int | Iterable[str | bytes | int]] + | Iterable[tuple[str, str | bytes | int | Iterable[str | bytes | int]]] + | None ) class _RequestFactory(Generic[_T]): diff --git a/django-stubs/utils/http.pyi b/django-stubs/utils/http.pyi index 685254511..163d04a75 100644 --- a/django-stubs/utils/http.pyi +++ b/django-stubs/utils/http.pyi @@ -14,8 +14,8 @@ def urlquote_plus(url: str, safe: str = ...) -> str: ... def urlunquote(quoted_url: str) -> str: ... def urlunquote_plus(quoted_url: str) -> str: ... def urlencode( - query: Mapping[str, str | bytes | Iterable[str | bytes]] - | Iterable[tuple[str, str | bytes | Iterable[str | bytes]]] + query: Mapping[str, str | bytes | int | Iterable[str | bytes | int]] + | Iterable[tuple[str, str | bytes | int | Iterable[str | bytes | int]]] | None, doseq: bool = ..., ) -> str: ...