Help with initiall setup....

32 views
Skip to first unread message

David Herring

unread,
Mar 19, 2014, 3:24:36 PM3/19/14
to djangofi...@googlegroups.com


Have just installed and am unsure where to edit the settings file....

root@big1 /home/rob/rbsdocs # python manage.py test filebrowser
Creating test database for alias 'default'...
EEEEEE
======================================================================
ERROR: filebrowser.tests.test_settings (unittest.loader.ModuleImportFailure)
----------------------------------------------------------------------
ImportError: Failed to import test module: filebrowser.tests.test_settings
Traceback (most recent call last):
  File "/usr/lib/python2.7/unittest/loader.py", line 254, in _find_tests
    module = self._get_module_from_name(name)
  File "/usr/lib/python2.7/unittest/loader.py", line 232, in _get_module_from_name
    __import__(name)
  File "/usr/local/lib/python2.7/dist-packages/filebrowser/tests/__init__.py", line 3, in <module>
    from filebrowser.tests.test_sites import *

...

Have I missed some obvious setup step ?

Thanks Dave

patrick kranzlmueller

unread,
Mar 19, 2014, 3:29:19 PM3/19/14
to djangofi...@googlegroups.com
no need to edit the settings file, but you need to define at least one filebrowser site.
if you follow the quickstart tutorial, it should work:


--
You received this message because you are subscribed to the Google Groups "Django FileBrowser" group.
To unsubscribe from this group and stop receiving emails from it, send an email to djangofilebrow...@googlegroups.com.
To post to this group, send email to djangofi...@googlegroups.com.
Visit this group at http://groups.google.com/group/djangofilebrowser.
For more options, visit https://groups.google.com/d/optout.

David Herring

unread,
Mar 19, 2014, 8:04:06 PM3/19/14
to djangofi...@googlegroups.com

Thanks for fast response. I must be going mad ...I cannot see in docs where to define the filebrowser site ? Is this done in a settings file..where ?

I have followed and read through several times the quiick start guide. 

Sorry to be so poor at getting this working....
Dave

David Herring

unread,
Mar 20, 2014, 3:56:40 AM3/20/14
to djangofi...@googlegroups.com

Ok...did not add line ....

from filebrowser.sites import site

So now working, but have to understand/read some more to settup my storage..basically want to serve 100G of MS doc files...lets see how this progresses.
thx dave

patrick kranzlmueller

unread,
Mar 20, 2014, 3:58:04 AM3/20/14
to djangofi...@googlegroups.com
serving of media files is neither related to filebrowser nor django – it´s about your server (e.g. nginx) instead.

Suzanna Herring

unread,
Mar 20, 2014, 3:51:19 PM3/20/14
to djangofi...@googlegroups.com

Thanks again, I have previously been using Plone to serve a large number of 'media' files ... I get nervous using the term media files as I'm not sure what it means...but in my case we have 100G of old excel/word etc files. I was hoping that django filebrowser would provide a simple django based searcb facility to download these files for selected end users. i have looked in past at bigger projects like Mayan ...but not been totally convinced, and the devel appears to have stopped.

You are right, a simple web inteface for file browsing is what I want. Will keep looking, and will try to get filebrowser setup so I can see exactly what it does.

Dave
Reply all
Reply to author
Forward
0 new messages