| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/jedi/third_party/django-stubs/django-stubs/template/ |
Upload File : |
from typing import Any, Callable, Dict, List, Optional, Tuple, Union, Sequence
from django.template.base import Origin
from django.template.library import Library
from django.template.loaders.base import Loader
from django.utils.safestring import SafeText
from .base import Template
_Loader = Any
class Engine:
template_context_processors: Tuple[Callable]
template_loaders: List[Loader]
default_builtins: Any = ...
dirs: List[str] = ...
app_dirs: bool = ...
autoescape: bool = ...
context_processors: Union[List[str], Tuple[str]] = ...
debug: bool = ...
loaders: Sequence[_Loader] = ...
string_if_invalid: str = ...
file_charset: str = ...
libraries: Dict[str, str] = ...
template_libraries: Dict[str, Library] = ...
builtins: List[str] = ...
template_builtins: List[Library] = ...
def __init__(
self,
dirs: Optional[List[str]] = ...,
app_dirs: bool = ...,
context_processors: Optional[Union[List[str], Tuple[str]]] = ...,
debug: bool = ...,
loaders: Optional[Sequence[_Loader]] = ...,
string_if_invalid: str = ...,
file_charset: str = ...,
libraries: Optional[Dict[str, str]] = ...,
builtins: Optional[List[str]] = ...,
autoescape: bool = ...,
) -> None: ...
@staticmethod
def get_default() -> Engine: ...
def get_template_builtins(self, builtins: List[str]) -> List[Library]: ...
def get_template_libraries(self, libraries: Dict[str, str]) -> Dict[str, Library]: ...
def get_template_loaders(self, template_loaders: Sequence[_Loader]) -> List[Loader]: ...
def find_template_loader(self, loader: _Loader) -> 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: Optional[Dict[str, Any]] = ...) -> SafeText: ...
def select_template(self, template_name_list: List[str]) -> Template: ...