mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-05-19 23:09:56 +08:00
cleanup middlewares
This commit is contained in:
@@ -3,6 +3,5 @@ from django.http.response import HttpResponseBase
|
||||
from django.utils.deprecation import MiddlewareMixin
|
||||
|
||||
class ConditionalGetMiddleware(MiddlewareMixin):
|
||||
get_response: None
|
||||
def process_response(self, request: WSGIRequest, response: HttpResponseBase) -> HttpResponseBase: ...
|
||||
def needs_etag(self, response: HttpResponseBase) -> bool: ...
|
||||
|
||||
Reference in New Issue
Block a user