mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-15 08:17:08 +08:00
13 lines
473 B
Python
13 lines
473 B
Python
from typing import Any, List, Optional, Dict
|
|
|
|
from django.template.base import Origin, Template
|
|
from django.template.engine import Engine
|
|
|
|
class Loader:
|
|
engine: Any = ...
|
|
get_template_cache: Dict[str, Any] = ...
|
|
def __init__(self, engine: Engine) -> None: ...
|
|
def get_template(self, template_name: str, skip: Optional[List[Origin]] = ...) -> Template: ...
|
|
def get_template_sources(self, template_name: Any) -> None: ...
|
|
def reset(self) -> None: ...
|