mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-08 21:14:49 +08:00
14 lines
640 B
Python
14 lines
640 B
Python
from typing import Any, Callable, Dict, List, Tuple, Union
|
|
|
|
from django.core.handlers.wsgi import WSGIRequest
|
|
from django.http.request import HttpRequest
|
|
from django.utils.functional import SimpleLazyObject
|
|
|
|
def csrf(request: HttpRequest) -> Dict[str, SimpleLazyObject]: ...
|
|
def debug(request: HttpRequest) -> Dict[str, Union[Callable, bool]]: ...
|
|
def i18n(request: WSGIRequest) -> Dict[str, Union[List[Tuple[str, str]], bool, str]]: ...
|
|
def tz(request: HttpRequest) -> Dict[str, str]: ...
|
|
def static(request: HttpRequest) -> Dict[str, str]: ...
|
|
def media(request: Any): ...
|
|
def request(request: HttpRequest) -> Dict[str, HttpRequest]: ...
|