sehmaschine/django-filebrowser — Issue #76: Filebrowser doesn't respect the FILEBROWSER_MEDIA_ROOT setting
Author: archatas
Created: 2012-02-09 13:34:26+00:00
State: open

I am testing Filebrowser 3.4.1. Whatever I set at FILEBROWSER_MEDIA_ROOT, the shown path at the root position is settings.MEDIA_ROOT + FILEBROWSER_DIRECTORY.

For example, with the following settings

FILEBROWSER_MEDIA_ROOT = os.path.join(MEDIA_ROOT, "uploads")
FILEBROWSER_DIRECTORY = ""

I expect to browse the "uploads/" at the root position.

The following setup works

FILEBROWSER_MEDIA_ROOT = MEDIA_ROOT
FILEBROWSER_DIRECTORY = "uploads/"

but then the "uploads/" part is saved in the database for FileBrowseFields.