diff --git a/django-stubs/template/backends/dummy.pyi b/django-stubs/template/backends/dummy.pyi index a334f7ea1..f95a2210d 100644 --- a/django-stubs/template/backends/dummy.pyi +++ b/django-stubs/template/backends/dummy.pyi @@ -3,11 +3,11 @@ from typing import Any from django.http.request import HttpRequest -from .base import BaseEngine +from .base import BaseEngine, _EngineTemplate class TemplateStrings(BaseEngine): def __init__(self, params: dict[str, dict[Any, Any] | list[Any] | bool | str]) -> None: ... -class Template(string.Template): +class Template(string.Template, _EngineTemplate): template: str def render(self, context: dict[str, Any] | None = ..., request: HttpRequest | None = ...) -> str: ...