class StaticFilesHandlerMixin:
Known subclasses: django.contrib.staticfiles.handlers.ASGIStaticFilesHandler
, django.contrib.staticfiles.handlers.StaticFilesHandler
Method | _should_handle |
Check if the path should be handled. Ignore the path if: * the host is provided as part of the base_url * the request's path isn't under the media path (or equal) |
Method | file_path |
Return the relative path to the media file on disk for the given URL. |
Method | get_base_url |
Undocumented |
Method | get_response |
Undocumented |
Async Method | get_response_async |
Undocumented |
Method | load_middleware |
Undocumented |
Method | serve |
Serve the request path. |
Class Variable | handles_files |
Undocumented |