mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-15 08:17:08 +08:00
18 lines
349 B
Python
18 lines
349 B
Python
from django.template.base import (
|
|
Origin,
|
|
Template,
|
|
)
|
|
from django.template.engine import Engine
|
|
from typing import (
|
|
List,
|
|
Optional,
|
|
)
|
|
|
|
|
|
class Loader:
|
|
def __init__(self, engine: Engine) -> None: ...
|
|
def get_template(
|
|
self,
|
|
template_name: str,
|
|
skip: Optional[List[Origin]] = ...
|
|
) -> Template: ... |