11# Django-Filer ("Finder" branch)
22
33The "Finder" branch of django-filer is a complete rewrite of the original ** django-filer** project.
4- It is 'work in progress' and is not yet ready for production use. However, the code is in a state
4+ It is 'work in progress' and not yet ready for production use. However, the code is in a state
55where it can be used for testing and development purposes.
66
77A rewrite was necessary because the original codebase was not maintainable anymore. Please read this
@@ -136,7 +136,7 @@ In `settings.py` of your project, add these extra dependencies or those you real
136136 ' finder' ,
137137 ' finder.contrib.archive' , # supports zip, tar, tar.gz, tar.bz2, tar.xz
138138 ' finder.contrib.audio' , # supports mp3, ogg, flac, wav
139- ' finder.contrib.common' , # supports pdf , spreadsheets
139+ ' finder.contrib.common' , # supports PDF , spreadsheets
140140 ' finder.contrib.image.pil' , # supports bmp, gif, jpeg, png, tiff
141141 ' finder.contrib.image.svg' , # supports svg
142142 ' finder.contrib.video' , # supports mp4, webm, ogv
@@ -145,10 +145,9 @@ In `settings.py` of your project, add these extra dependencies or those you real
145145```
146146
147147If you use:
148- * ` finder.contrib.audio ` , assure that ` ffmpeg-python ` is installed.
148+ * ` finder.contrib.audio ` or ` finder.contrib.video ` , assure that ` ffmpeg-python ` is installed.
149149* ` finder.contrib.image.pil ` , assure that ` Pillow ` is installed.
150150* ` finder.contrib.image.svg ` , assure that ` reportlab ` and ` svglib ` are installed.
151- * ` finder.contrib.video ` , assure that ` ffmpeg-python ` is installed.
152151* Postgres as database, install ` psycopg2 ` or ` psycopg2-binary ` if available for your platform.
153152
154153Run the migrations for app ` finder ` :
@@ -233,9 +232,9 @@ rendered as HTML, this widget becomes the webcomponent `<finder-file-select …>
233232with a few additional attributes. The JavaScript part of the widget must be included using the
234233script tag ` <script src="{% static 'finder/js/finder-select.js' %}"></script> ` .
235234
236- The testapp provides an example how this field can be used in a form. Just vist the URL
237- http://localhost:8000/admin/finder/foldermodel/ and click on the blank area to either select an
238- existing file or upload a new one.
235+ The demonstration app provides an example how this field can be used in a form. Just vist the URL
236+ http://localhost:8000/demoapp/ and click on the blank area to either select an existing file or
237+ upload a new one.
239238
240239
241240## Permission System (Proposal)
@@ -261,7 +260,7 @@ Each `AccessControlEntry` has a these fields:
261260 a file, it allows the currently loggedin user to view and use that file.
262261* A generic foreign key pointing onto the ` InodeModel ` . This creates a one-to-many relation between
263262 different file types and folders on one side and the access control list on the other.
264- * A foreign key onto the folder model to set a permission template. Read below for details.
263+ * A foreign key onto the folder model to set a permission template. Read below for details.
265264* The ` execute ` flag as seen in Unix file systems and other ACL implementations does not make sense
266265 in this context and is not implemented.
267266
0 commit comments