class documentation
class StaticFilesHandlerMixin: (source)
Known subclasses: django.contrib.staticfiles.handlers.ASGIStaticFilesHandler
, django.contrib.staticfiles.handlers.StaticFilesHandler
Common methods used by WSGI and ASGI handlers.
Method | file |
Return the relative path to the media file on disk for the given URL. |
Method | get |
Undocumented |
Method | get |
Undocumented |
Async Method | get |
Undocumented |
Method | load |
Undocumented |
Method | serve |
Serve the request path. |
Class Variable | handles |
Undocumented |
Method | _should |
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) |