From 8e94074384e0506e4541537efb303bfb93739b5f Mon Sep 17 00:00:00 2001 From: Joshua Tzucker Date: Mon, 11 Nov 2024 18:51:00 -0800 Subject: [PATCH] Cleanup: Remove unused middleware class --- django_utils_lib/middleware.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/django_utils_lib/middleware.py b/django_utils_lib/middleware.py index 19bc2ed..95c7681 100644 --- a/django_utils_lib/middleware.py +++ b/django_utils_lib/middleware.py @@ -88,15 +88,3 @@ def __call__(self, request: HttpRequest) -> HttpResponse: response["Location"] = redirect_url.geturl() return response - - -class SimpleStaticFileMiddleware(BaseMiddleware): - """ - This is a middleware class to help with serving static files directly with - Django. - - For a more robust solution, one should look to using a CDN and/or - standalone static file server with a reverse-proxy in place. - """ - - pass