Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

commenting system for the CubicWeb framework

Project Description

Summary

The comment cube provides threadable comments feature.

It is a CubicWeb component. CubicWeb is a semantic web application framework, see http://www.cubicweb.org

Install

Auto-install from sources prefered with pip/Distribute:

pip install cubicweb-comment

If you have troubles, use easy_install/setuptools and eggs:

easy_install cubicweb-comment

You can install the package manually from the uncompressed tarball:

python setup.py install # auto-install dependencies

If you don’t want the dependancies to be installed automaticly, you can force the setup to use the standard library distutils:

NO_SETUPTOOLS=1 python setup.py install

More details at http://www.cubicweb.org/doc/en/admin/setup

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.

Documentation

Look in the doc/ subdirectory or read http://www.cubicweb.org/doc/en/

Release History

Release History

This version
History Node

1.12.2

History Node

1.12.1

History Node

1.12.0

History Node

1.11.1

History Node

1.11.0

History Node

1.10.0

History Node

1.9.1

History Node

1.9.0

History Node

1.8.2

History Node

1.8.1

History Node

1.8.0

History Node

1.7.2

History Node

1.7.1

History Node

1.7.0

History Node

1.6.3

History Node

1.6.2

History Node

1.6.1

History Node

1.6.0

History Node

1.4.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
cubicweb-comment-1.12.2.tar.gz (14.8 kB) Copy SHA256 Checksum SHA256 Source Dec 22, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting