Skip to main content

folder component for the CubicWeb framework

Project description


The folder cube allows to create a tree of categories and classify entities as you’re used to do in a file-system.


Define the relation filed_under in the schema, object must contain all entities which can be classified in a folder.

class missing_filed_under(RelationDefinition):
    name = 'filed_under'
    subject = ('ExtProject', 'Project', 'Card', 'File')
    object = 'Folder'

The FoldersBox shows the folders hierarchy as a tree view. It’s not visible by default (user can activate it using their preferences) but you can activate it by default using the code snippet below:

from cubicweb_folder.views import FoldersBox
# make the folders box visible by default
FoldersBox.visible = True

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cubicweb-folder, version 2.1.1
Filename, size File type Python version Upload date Hashes
Filename, size cubicweb-folder-2.1.1.tar.gz (10.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page