find
Find a static file with the given path using all enabled finders.
If find_all is False (default), return the first matching
absolute path (or None if no match). Otherwise return a list.
def find(
path: string,
find_all: boolean = False
) - > string | list | null
Find a static file with the given path using all enabled finders.
Parameters
| Name | Type | Description |
|---|---|---|
| path | string | The relative path of the static file to locate within the configured storage backends. |
| find_all | boolean = False | Determines whether to return only the first match found or a complete list of all matching file paths across all finders. |
Returns
| Type | Description |
|---|---|
| `string | list |