Skip to content

Commit

Permalink
Add get_template_tag_modules function signature to django.template.ba…
Browse files Browse the repository at this point in the history
…ckends.django
  • Loading branch information
DongwookKim0823 committed Jul 4, 2024
1 parent 1a5494c commit e356899
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions django-stubs/template/backends/django.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class DjangoTemplates(BaseEngine):

def copy_exception(exc: TemplateDoesNotExist, backend: DjangoTemplates | None = ...) -> TemplateDoesNotExist: ...
def reraise(exc: TemplateDoesNotExist, backend: DjangoTemplates) -> NoReturn: ...
def get_template_tag_modules() -> Iterator[tuple[str, str]]: ...
def get_installed_libraries() -> dict[str, str]: ...
def get_package_libraries(pkg: Any) -> Iterator[str]: ...

Expand Down
1 change: 0 additions & 1 deletion scripts/stubtest/allowlist_todo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1340,7 +1340,6 @@ django.template.Library.filter_function
django.template.Library.simple_tag
django.template.Node.__iter__
django.template.VariableDoesNotExist.__init__
django.template.backends.django.get_template_tag_modules
django.template.base.Context
django.template.base.FilterExpression.is_var
django.template.base.Node.__iter__
Expand Down

0 comments on commit e356899

Please sign in to comment.