Main URL/Paths Settings¶
MEDIA_ROOT¶
The absolute path to the directory that holds the media-files you want to browse:
MEDIA_ROOT = getattr(settings, "FILEBROWSER_MEDIA_ROOT", settings.MEDIA_ROOT)
MEDIA_URL¶
URL that handles the media served from MEDIA_ROOT:
MEDIA_URL = getattr(settings, "FILEBROWSER_MEDIA_URL", settings.MEDIA_URL)
DIRECTORY (relative to MEDIA_ROOT)¶
Main FileBrowser Directory. Leave empty in order to browse all files and folders within MEDIA_ROOT:
DIRECTORY = getattr(settings, "FILEBROWSER_DIRECTORY", 'uploads/')