diff --git a/django-stubs/template/loaders/base.pyi b/django-stubs/template/loaders/base.pyi index 817b456..034769a 100644 --- a/django-stubs/template/loaders/base.pyi +++ b/django-stubs/template/loaders/base.pyi @@ -1,4 +1,4 @@ -from typing import Any, List, Optional, Dict +from typing import Any, List, Iterable, Optional, Dict from django.template.base import Origin, Template from django.template.engine import Engine @@ -8,5 +8,5 @@ class Loader: 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: str) -> None: ... + def get_template_sources(self, template_name: str) -> Iterable[Origin]: ... def reset(self) -> None: ...