Skip to content

marazmiki/django-comments-threaded

Repository files navigation

django-comments-threaded

Travis CI build status Code coverage percentage Latest version on PyPI Wheel Status Supported Python versions

Requirements

Installation

Install package with pip (or easy_install) from PyPI:

$ pip install django-comments-threaded

or development version from github:

$ pip install -e git+https://github.com/marazmiki/django-comments-threaded#egg=django-comments-threaded

Then you need add both mptt and django_comments_threaded applications into your INSTALLED_APPS:

# settings.py
INSTALLED_APPS += (
    'mptt',
    'django_comments_threaded',
)

and add URL schema to your project urlpatterns in urls.py:

# urls.py
urlpatterns += [
    url(r'^comments/', include('django_comments_threaded.urls')),
]

After this run migrations:

$ ./manage.py migrate

Usage

A

{# some_template.html #}

{% load comments_threaded_tags %}
{% render_comments_widget for model_object %}

In this case model_object is the variable taken from template context that refers to instance of model

About

The threaded comments plugin for django-comments framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published