Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add get_template_tag_modules function signature to django.template.backends.django #2250

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading