folder component for the CubicWeb framework
Project description
Summary
The folder cube allows to create a tree of categories and classify entities as you’re used to do in a file-system.
Usage
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cubicweb-folder-2.2.0.tar.gz
(12.0 kB
view hashes)
Built Distribution
Close
Hashes for cubicweb_folder-2.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db0f678564f905a55f3d25c6bc10c34890f3f5adb8d0962dbf33a34abc5f1f26 |
|
MD5 | 9b9a817078f90068fbbb99e15dc34bb7 |
|
BLAKE2b-256 | 166e036fb1404db10641079d9ecf09dff0dc830734f404248b9608616902dcf1 |