Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.71 KB

README.rst

File metadata and controls

41 lines (28 loc) · 1.71 KB

Welcome to elFinder for django

elFinder4django is a django connector for elFinder file manager.

Note

this project only supports elFinder 2.x, elFinder 1.x is not supported yet.

Quick Installation Guide

  1. simply, download and extract elfinder4django into temporary folder.

  2. copy the application folder called connector ( found in elfinder4django/elfindertest/connector ) inside your django project.

  3. add connector in your INSTALLED_APPS inside settings.py

    INSTALLED_APPS = (
            'connector',
            'all other apps',
            )
    
  4. open urls.py of your project. add new url config

    urlpatterns = patterns('',
            url(r'^elfinder/', include('projectname.connector.urls')), #where projectname is your project directory
    
            #Other Urls goes here
    )
    
  5. Make sure you set MEDIA_URL, MEDIA_ROOT, STATIC_URL.

  6. Make sure you activate MEDIA_URL in your urls.py.

  7. download elFinder version 2.x from elFinder site (note: currently in 2.0-beta) . extract it in connect/static directory make sure you renamed it as elFinder.

  8. if all these settings are Ok, run your server and point it to http://<host>:<port>/elfinder/.

  9. you should see now all your MEDIA_ROOT sub files are now appeared. if not, make sure your django version is 1.3, django version <= 1.2 is not supported until you install django-staticfiles .

Tip

for the full documentation, please follow this link : elFinder for django documentation