Fetching contributors…
Cannot retrieve contributors at this time
28 lines (22 sloc) 1.3 KB

Filemanager library

Library for building django application like filemanager, gallery etc. Provides some base classes to build your own views.

There exists two base classes:



  • Base class for a app like a file manager
  • provides directory/file objects with many informations (e.g. to display in a django template):
    • file path (absolute & relative)
    • size
    • file’s permission bits in different formats:
      • native stat.ST_MODE
      • octal notation
      • symbol notation as string, e.g.: u'rw-rw-r--'
    • modify datetime
    • name & id of user and user group
  • base function to handle file uploads