mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-18 18:05:58 +08:00
initial commit
This commit is contained in:
18
django/template/loaders/base.pyi
Normal file
18
django/template/loaders/base.pyi
Normal file
@@ -0,0 +1,18 @@
|
||||
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: ...
|
||||
Reference in New Issue
Block a user