Skip to main content

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


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.0.0.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

cubicweb_folder-3.0.0-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file cubicweb-folder-3.0.0.tar.gz.

File metadata

  • Download URL: cubicweb-folder-3.0.0.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for cubicweb-folder-3.0.0.tar.gz
Algorithm Hash digest
SHA256 863c47ce915d9accc0b1491bbbc8c0ae71f07714ba697225347c8b4a702f04ee
MD5 c8ff503f2664d24242a5b93b1bdf3921
BLAKE2b-256 7358582aeadfc457a463e2510d4ee63159d8e41f52fb5719e0a3d2a4923fa336

See more details on using hashes here.

File details

Details for the file cubicweb_folder-3.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cubicweb_folder-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c134e764b011550091c1583b0fc382c6e8b453be2eea4333911ddaf56ff64f26
MD5 df54582e5d8dcc9c19b48c7923b3b38a
BLAKE2b-256 bd7a3ba1da4a933362883c01fda443f6e51cfb4fc4ef73e3e736fcb88b80f721

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page