Skip to content

Commit

Permalink
Cleanup: Remove unused middleware class
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuatz committed Nov 12, 2024
1 parent c0b435e commit 8e94074
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions django_utils_lib/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8e94074

Please sign in to comment.