Re: Django-filebrowser path problems

2012-12-07 Thread Felix Schlitter
Thanks for sharing! On Sunday, 6 February 2011 16:27:16 UTC+13, gerram wrote: > > I decided my problem! > If you use dynamic method for getting you path, example: > > import os > SITE_ROOT = os.path.realpath(os.path.dirname(__file__)) > MEDIA_ROOT = os.path.join(SITE_ROOT, 'media') > > you ca

Re: Django-filebrowser path problems

2011-02-05 Thread gerram
I decided my problem! If you use dynamic method for getting you path, example: import os SITE_ROOT = os.path.realpath(os.path.dirname(__file__)) MEDIA_ROOT = os.path.join(SITE_ROOT, 'media') you can dismiss path of you real folder especially when project lies outside of the site root. I check it

Django-filebrowser path problems

2011-02-03 Thread gerram
Can anybody to help me with demo project of correct settings.py for django-filebrowser and structure of folders. I tried very much places of locate FILEBROWSER folders for media and uploads but always get such error: 'Error finding Upload-Folder (MEDIA_ROOT + FILEBROWSER_DIRECTORY). Maybe it does n