mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-02-26 19:47:14 +08:00
move generated stubs to separate directory, too messty
This commit is contained in:
19
django-stubs-generated/template/exceptions.pyi
Normal file
19
django-stubs-generated/template/exceptions.pyi
Normal file
@@ -0,0 +1,19 @@
|
||||
from typing import Any, List, Optional, Tuple, Union
|
||||
|
||||
from django.template.backends.base import BaseEngine
|
||||
from django.template.base import Origin
|
||||
|
||||
|
||||
class TemplateDoesNotExist(Exception):
|
||||
backend: Optional[django.template.backends.base.BaseEngine] = ...
|
||||
tried: List[Tuple[django.template.base.Origin, str]] = ...
|
||||
chain: List[django.template.exceptions.TemplateDoesNotExist] = ...
|
||||
def __init__(
|
||||
self,
|
||||
msg: Union[Origin, str],
|
||||
tried: Optional[List[Tuple[Origin, str]]] = ...,
|
||||
backend: Optional[BaseEngine] = ...,
|
||||
chain: Optional[List[TemplateDoesNotExist]] = ...,
|
||||
) -> None: ...
|
||||
|
||||
class TemplateSyntaxError(Exception): ...
|
||||
Reference in New Issue
Block a user