mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-16 16:57:12 +08:00
initial commit
This commit is contained in:
18
django/template/exceptions.pyi
Normal file
18
django/template/exceptions.pyi
Normal file
@@ -0,0 +1,18 @@
|
||||
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: ...
|
||||
Reference in New Issue
Block a user