mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-15 00:07:09 +08:00
11 lines
314 B
Python
11 lines
314 B
Python
from django.core.handlers.wsgi import WSGIRequest
|
|
from django.http.response import HttpResponse
|
|
|
|
|
|
class LocaleMiddleware:
|
|
def process_request(self, request: WSGIRequest) -> None: ...
|
|
def process_response(
|
|
self,
|
|
request: WSGIRequest,
|
|
response: HttpResponse
|
|
) -> HttpResponse: ... |