Skip to main content

get_finder

Import the staticfiles finder class described by import_path, where import_path is the full Python path to the class.

def get_finder(
import_path: string
) - > BaseFinder

Import the staticfiles finder class described by import_path, where import_path is the full Python path to the class.

Parameters

NameTypeDescription
import_pathstringThe full Python dot-notation path to the staticfiles finder class to be instantiated.

Returns

TypeDescription
BaseFinderAn instance of the staticfiles finder class specified by the import path.