Skip to content

Commit

Permalink
add Path type argument to tuple returned by get_app_template_dirs (
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuadavidthomas authored Jul 20, 2024
1 parent 3f0da4f commit 9484698
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion django-stubs/template/utils.pyi
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from collections.abc import Iterator
from pathlib import Path
from typing import Any

from django.core.exceptions import ImproperlyConfigured
Expand All @@ -15,4 +16,4 @@ class EngineHandler:
def __iter__(self) -> Iterator[Any]: ...
def all(self) -> list[BaseEngine]: ...

def get_app_template_dirs(dirname: str) -> tuple: ...
def get_app_template_dirs(dirname: str) -> tuple[Path, ...]: ...

0 comments on commit 9484698

Please sign in to comment.