Menu
  • HOME
  • TAGS

django-filebrowser returns system path instead of media URL

django,django-filebrowser

The FILEBROWSER_DIRECTORY is relative to FILEBROWSER_MEDIA_ROOT so make it empty: FILEBROWSER_DIRECTORY = '' Or restrict to some dir: FILEBROWSER_DIRECTORY = 'uploads/' Also note that FILEBROWSER_MEDIA_ROOT and FILEBROWSER_MEDIA_URL are the same as MEDIA_ROOT/MEDIA_URL. This is the default setting and you can safely delete these lines from settings.py....

How to upload a file using django FileBrowser

django,django-filebrowser

If you have everything set up correctly it should resemble something similar to this: https://code.google.com/p/django-filebrowser/wiki/screenshots...