mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-08 21:14:49 +08:00
move generated stubs to separate directory, too messty
This commit is contained in:
20
django-stubs-generated/views/static.pyi
Normal file
20
django-stubs-generated/views/static.pyi
Normal file
@@ -0,0 +1,20 @@
|
||||
from typing import Any, Optional
|
||||
|
||||
from django.core.handlers.wsgi import WSGIRequest
|
||||
from django.http.response import FileResponse
|
||||
|
||||
|
||||
def serve(
|
||||
request: WSGIRequest,
|
||||
path: str,
|
||||
document_root: str = ...,
|
||||
show_indexes: bool = ...,
|
||||
) -> FileResponse: ...
|
||||
|
||||
DEFAULT_DIRECTORY_INDEX_TEMPLATE: str
|
||||
template_translatable: Any
|
||||
|
||||
def directory_index(path: Any, fullpath: Any): ...
|
||||
def was_modified_since(
|
||||
header: None = ..., mtime: float = ..., size: int = ...
|
||||
) -> bool: ...
|
||||
Reference in New Issue
Block a user