mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-08 13:04:47 +08:00
11 lines
307 B
Python
11 lines
307 B
Python
from typing import Any, Optional
|
|
|
|
from django.http.request import HttpRequest
|
|
from django.utils.deprecation import MiddlewareMixin
|
|
|
|
from .shortcuts import get_current_site
|
|
|
|
class CurrentSiteMiddleware(MiddlewareMixin):
|
|
get_response: None
|
|
def process_request(self, request: HttpRequest) -> None: ...
|