commenting system for the CubicWeb framework
Project description
Summary
The comment cube provides threadable comments feature.
Usage
This cube creates a new entity type called Comment which could basically be read by every body but only added by application’s users. It also defines a relation comments which provides the ability to add a Comment which comments a Comment.
To use this cube, you want to add the relation comments on the entity type you want to be able to comment. For instance, let’s say your cube defines a schema for a blog. You want all the blog entries to be commentable. Here is how to define it in your schema:
from yams.buildobjs import RelationDefinition
class comments(RelationDefinition):
subject = 'Comment'
object = 'BlogEntry'
cardinality = '1*'
Once this relation is defined, you can post comments and view threadable comments automatically on blog entry’s primary view.
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
File details
Details for the file cubicweb-comment-1.6.1.tar.gz.
File metadata
- Download URL: cubicweb-comment-1.6.1.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bbc8211d4b727a7431df3e0fcf35294ea1fd1746379b64af4d3b24872f82ded6
|
|
| MD5 |
81ad4c6451c0a4f103c2554e96dd1357
|
|
| BLAKE2b-256 |
f831a5ff3e1dcce8fa54c673479f5a2c8b0ba6f4fb33e5de3dddcc113c5b499c
|