elFinder4django is a django connector for elFinder file manager.
Note
this project only supports elFinder 2.x, elFinder 1.x is not supported yet.
simply, download and extract elfinder4django into temporary folder.
copy the application folder called
connector( found inelfinder4django/elfindertest/connector) inside your django project.add connector in your
INSTALLED_APPSinsidesettings.pyINSTALLED_APPS = ( 'connector', 'all other apps', )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 )Make sure you set
MEDIA_URL,MEDIA_ROOT,STATIC_URL.Make sure you activate
MEDIA_URLin your urls.py.download elFinder version 2.x from elFinder site (note: currently in 2.0-beta) . extract it in
connect/staticdirectory make sure you renamed it aselFinder.if all these settings are Ok, run your server and point it to
http://<host>:<port>/elfinder/.you should see now all your
MEDIA_ROOTsub files are now appeared. if not, make sure your django version is1.3, django version<= 1.2is not supported until you installdjango-staticfiles.
Tip
for the full documentation, please follow this link : elFinder for django documentation