fixes, add some testing folders

This commit is contained in:
Maxim Kurnikov
2019-02-04 19:31:37 +03:00
parent 3dcab64e07
commit 69d4ccaf54
31 changed files with 319 additions and 236 deletions

View File

@@ -1,4 +1,6 @@
from typing import Any, Dict, Iterator, List, Optional, Tuple, Union
from typing import Any, Dict, Iterator, List, Tuple, Union
from django.template.base import Template
class BaseEngine:
name: Any = ...
@@ -7,7 +9,7 @@ class BaseEngine:
def __init__(self, params: Dict[str, Union[List[str], bool, str]]) -> None: ...
@property
def app_dirname(self) -> None: ...
def from_string(self, template_code: Any) -> None: ...
def from_string(self, template_code: Any) -> Template: ...
def get_template(self, template_name: Any) -> None: ...
def template_dirs(self) -> Tuple[str]: ...
def iter_template_filenames(self, template_name: str) -> Iterator[str]: ...

View File

@@ -1,6 +1,7 @@
from typing import Dict, List, Optional, Union, Any
from django.core.handlers.wsgi import WSGIRequest
from . import engines as engines
def get_template(template_name: str, using: Optional[str] = ...) -> Any: ...
def select_template(template_name_list: Union[List[str], str], using: Optional[str] = ...) -> Any: ...