mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-08 04:54:48 +08:00
16 lines
620 B
Python
16 lines
620 B
Python
from typing import Any, Optional
|
|
|
|
from django.core.handlers.wsgi import WSGIHandler, WSGIRequest
|
|
|
|
class StaticFilesHandler(WSGIHandler):
|
|
handles_files: bool = ...
|
|
application: django.core.handlers.wsgi.WSGIHandler = ...
|
|
base_url: Any = ...
|
|
def __init__(self, application: WSGIHandler) -> None: ...
|
|
def load_middleware(self) -> None: ...
|
|
def get_base_url(self) -> str: ...
|
|
def file_path(self, url: str) -> str: ...
|
|
def serve(self, request: WSGIRequest) -> Any: ...
|
|
def get_response(self, request: WSGIRequest) -> Any: ...
|
|
def __call__(self, environ: Any, start_response: Any): ...
|