mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-11 22:41:55 +08:00
18 lines
435 B
Python
18 lines
435 B
Python
from django.template.backends.base import BaseEngine
|
|
from django.template.base import Origin
|
|
from typing import (
|
|
List,
|
|
Optional,
|
|
Tuple,
|
|
Union,
|
|
)
|
|
|
|
|
|
class TemplateDoesNotExist:
|
|
def __init__(
|
|
self,
|
|
msg: Union[str, Origin],
|
|
tried: Optional[List[Tuple[Origin, str]]] = ...,
|
|
backend: Optional[BaseEngine] = ...,
|
|
chain: Optional[List[TemplateDoesNotExist]] = ...
|
|
) -> None: ... |