mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-15 08:17:08 +08:00
black reformat, some fixes
This commit is contained in:
@@ -57,7 +57,9 @@ class Context(BaseContext):
|
||||
template_name: Optional[str] = ...
|
||||
render_context: django.template.context.RenderContext = ...
|
||||
template: Optional[django.template.base.Template] = ...
|
||||
def __init__(self, dict_: Any = ..., autoescape: bool = ..., use_l10n: Optional[bool] = ..., use_tz: None = ...) -> None: ...
|
||||
def __init__(
|
||||
self, dict_: Any = ..., autoescape: bool = ..., use_l10n: Optional[bool] = ..., use_tz: None = ...
|
||||
) -> None: ...
|
||||
def bind_template(self, template: Template) -> Iterator[None]: ...
|
||||
def __copy__(self) -> Context: ...
|
||||
def update(self, other_dict: Union[Dict[str, Model], Dict[str, int], Dict[str, str], Context]) -> ContextDict: ...
|
||||
@@ -96,7 +98,12 @@ class RequestContext(Context):
|
||||
Union[
|
||||
Dict[str, Union[Dict[str, str], List[Dict[str, str]], bool]],
|
||||
Dict[str, Union[List[Any], ChangeList, int, str]],
|
||||
Dict[str, Union[List[Dict[str, Optional[Union[int, str]]]], List[ResultList], List[BoundField], ChangeList, int]],
|
||||
Dict[
|
||||
str,
|
||||
Union[
|
||||
List[Dict[str, Optional[Union[int, str]]]], List[ResultList], List[BoundField], ChangeList, int
|
||||
],
|
||||
],
|
||||
Dict[str, Union[ChangeList, int, range, str]],
|
||||
Context,
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user