mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-09 05:24:53 +08:00
13 lines
375 B
Python
13 lines
375 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: ...
|