xfenix / django-elfinderfs

Django connector for elFinder 2.x (fixed errors, and added style compability for django-suit and django-ckeditor)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

django-elfinderfs

elFinder is an open-source file manager for web, written in JavaScript using jQuery UI. Creation is inspired by simplicity and convenience of Finder program used in Mac OS X operating system.

django-elfinderfs is a 3rd party connector for elFinder 2.x and Django. It's a simple local file system driver which does not uses any databases.

Compatible with django-suit, and django-ckeditor with django-suit.

Requirements

  • Python >= 3.0
  • Django >= 1.8
  • Django REST Framework >= 3.1
  • PIL or Pillow

Installation

  • pip install django-elfinderfs
  • Modify your project's settings.py:
INSTALLED_APPS = (
    ...
    'django.contrib.sites',
    ...
    'rest_framework',
    ...
    'elfinderfs',
    ...
)

ELFINDERFS = {
    'roots': {
        'Media': {
            'url': MEDIA_URL,
            'root': MEDIA_ROOT,
            'thumbnails_prefix': '.thumbnails',
        },
        'TMP': {
            'url': '/tmp/',
            'root': '/tmp/',
            'thumbnails_prefix': '.thumbnails',
        },
    },
    'default_root': 'Media',
}
  • File management is available in your django admin at the url /admin/elfinderfs/sitefiles/. Files are the same for each domain.

Not implemented commands

  • ls
  • tmb
  • size
  • dim
  • archive
  • extract
  • info
  • netmount

Most of this commands are not used in default configuration of the elFinder.

Not implemented features

  • Archive management (packing, unpacking).
  • Symlinks (symlinks are hidden to prevent data corruption).

Screenshots

  • Default Django Admin

Default Django Admin

  • Django Suit (original screenshot, from original repo)

Django Suit

  • Django Suit (fixed, code from this repo)

Django Suit

About

Django connector for elFinder 2.x (fixed errors, and added style compability for django-suit and django-ckeditor)

License:GNU General Public License v3.0


Languages

Language:JavaScript 69.9%Language:Python 14.3%Language:HTML 9.9%Language:CSS 5.8%