mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-10 14:01:56 +08:00
black reformat, some fixes
This commit is contained in:
@@ -48,8 +48,12 @@ class Engine:
|
||||
def get_template_loaders(
|
||||
self, template_loaders: Union[List[List[Union[Dict[str, str], str]]], List[Tuple[str, List[str]]], List[str]]
|
||||
) -> List[Loader]: ...
|
||||
def find_template_loader(self, loader: Union[List[Union[Dict[str, str], str]], Tuple[str, List[str]], str]) -> Loader: ...
|
||||
def find_template(self, name: str, dirs: None = ..., skip: Optional[List[Origin]] = ...) -> Tuple[Template, Origin]: ...
|
||||
def find_template_loader(
|
||||
self, loader: Union[List[Union[Dict[str, str], str]], Tuple[str, List[str]], str]
|
||||
) -> Loader: ...
|
||||
def find_template(
|
||||
self, name: str, dirs: None = ..., skip: Optional[List[Origin]] = ...
|
||||
) -> Tuple[Template, Origin]: ...
|
||||
def from_string(self, template_code: str) -> Template: ...
|
||||
def get_template(self, template_name: str) -> Template: ...
|
||||
def render_to_string(self, template_name: str, context: Any = ...) -> SafeText: ...
|
||||
|
||||
Reference in New Issue
Block a user