mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-07 12:44:29 +08:00
12 lines
371 B
Python
12 lines
371 B
Python
from django.core.handlers.wsgi import WSGIRequest
|
|
from django.http.request import HttpRequest
|
|
from django.http.response import HttpResponseBase
|
|
|
|
|
|
class MessageMiddleware:
|
|
def process_request(self, request: WSGIRequest) -> None: ...
|
|
def process_response(
|
|
self,
|
|
request: HttpRequest,
|
|
response: HttpResponseBase
|
|
) -> HttpResponseBase: ... |