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
Metadata
Release files for cubicweb-folder 3.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cubicweb_folder-3.1.0.tar.gz | 12.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cubicweb_folder-3.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.0 kB
Release files / cubicweb_folder-3.1.0.tar.gz
| Download URL | cubicweb_folder-3.1.0.tar.gz |
|---|---|
| Size | 12.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
113e509df7ecca7f7af07bdc6c3959913412d7b1422db7a06a9e6f02fd9e0f16
|
|
BLAKE2b-256 checksum How to use checksums |
77bbb7771e3ea208904ea93fd10e826aa85a053d17e64e6aea9a6a225ff8be69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Release files / cubicweb_folder-3.1.0-py3-none-any.whl
| Download URL | cubicweb_folder-3.1.0-py3-none-any.whl |
|---|---|
| Size | 11.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0d578c0f8f46759d44f66c50454da068ae3306f032d989f474540606bbe7cc7a
|
|
BLAKE2b-256 checksum How to use checksums |
2a1012c14c5dba0f1991f94df2f07fbe4ce0ebb73b9b1faf39e0619772ed9f58
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|