Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 734 Bytes

README.rst

File metadata and controls

25 lines (17 loc) · 734 Bytes

Changes from original django-filebrowser:

Removed dependency on django-grappelli.

Works with Django 1.4 staticfiles.

New way to install the django-filebrowser urlset. Instead of adding the urls manually:

(r'^admin/filebrowser/', include('filebrowser.urls')),

You need to create a custom AdminSite, and include the filebrowser mixin:

from filebrowser.admin import FilebrowserAdmin
class MyAdminSite(admin.AdminSite, FilebrowserAdmin):
        pass

This will ensure that filebrowser is wrapped inside self.admin_view(), including support for your custom a admin_view implementation.

For a better curated port, see:
https://github.com/wardi/django-filebrowser-no-grappelli