1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
from pathlib import Path
from typing import Any
from django.http import FileResponse, HttpResponse
from django.http.request import HttpRequest
def builtin_template_path(name: str) -> Path: ...
def serve(
request: HttpRequest, path: str, document_root: str | None = ..., show_indexes: bool = ...
) -> FileResponse: ...
template_translatable: Any
def directory_index(path: Any, fullpath: Any) -> HttpResponse: ...
def was_modified_since(header: str | None = ..., mtime: float = ...) -> bool: ...
|