mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-08 21:14:49 +08:00
10 lines
360 B
Python
10 lines
360 B
Python
from typing import Any, Optional
|
|
|
|
from django.core.handlers.wsgi import WSGIRequest
|
|
from django.http.response import HttpResponse
|
|
from django.utils.deprecation import MiddlewareMixin
|
|
|
|
class FlatpageFallbackMiddleware(MiddlewareMixin):
|
|
get_response: Callable
|
|
def process_response(self, request: WSGIRequest, response: HttpResponse) -> HttpResponse: ...
|