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-3.1.0.tar.gz
(12.1 kB
view details)
Built Distribution
File details
Details for the file cubicweb_folder-3.1.0.tar.gz
.
File metadata
- Download URL: cubicweb_folder-3.1.0.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
113e509df7ecca7f7af07bdc6c3959913412d7b1422db7a06a9e6f02fd9e0f16
|
|
MD5 |
b6f907717bc7c414ecbeee128a96755e
|
|
BLAKE2b-256 |
77bbb7771e3ea208904ea93fd10e826aa85a053d17e64e6aea9a6a225ff8be69
|
File details
Details for the file cubicweb_folder-3.1.0-py3-none-any.whl
.
File metadata
- Download URL: cubicweb_folder-3.1.0-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
0d578c0f8f46759d44f66c50454da068ae3306f032d989f474540606bbe7cc7a
|
|
MD5 |
a6b1f68985df13bdd407c773710e9c97
|
|
BLAKE2b-256 |
2a1012c14c5dba0f1991f94df2f07fbe4ce0ebb73b9b1faf39e0619772ed9f58
|