django-filebrowser and grapelli

Django-grappelli provides a revamp of the existing Django admin look and feel. In itself, it simply makes your site look better—you’ll need this in case a site also needs to provide admin access to the product owner. For this case, however, we’re using Grappelli as a dependency for django-filebrowser.
Django-filebrowser does exactly what its name says. In a nutshell, django-filebrowser lets you navigate through and manipulate your media files through your Django admin site. This is useful should you eventually need the end-user to be able to control image files without having to dig deep into the server’s internal filesystem.
First, make sure the dependencies are installed. PIL may prove tricky to install, but from there it’s all simple.

  • pip install django==1.2
  • pip install PIL==1.1.7
  • pip install django-grappelli=2.1
  • pip install django-filebrowser==3.1

You’ll be able to follow these steps, except for the ‘collectstatic’ management command (since we’re using Django 1.2) Also, I used these additional settings:

Note: the PROJECT_ROOT style makes your settings more portable, so it’s a good habit to start.
Next, we make a symbolic link to the grappelli media folder (in site-packages) from your project media folder.(In the directory defined by MEDIA_ROOT)ln —symbolic /PATH/TO/site_packages/grappelli/media grappelli
Then, make sure your installed apps has this order:

Same goes for your urls,

(In the directory defined by MEDIA_ROOT)

Indicate in additional settings using this as reference:http://code.google.com/p/django-filebrowser/wiki/Settings

Once you’re set up, check it out with the following url:/admin/filebrowser/browse/