This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit 691841ad4426540cd6afd774e021a7deab1902de
tree 4590c3a1002b13030b764e5becc948f3294689fd
parent b544bfcbc37c75344c68114657ebce5dc9a14f61
tree 4590c3a1002b13030b764e5becc948f3294689fd
parent b544bfcbc37c75344c68114657ebce5dc9a14f61
| name | age | message | |
|---|---|---|---|
| |
README.rst | Wed Apr 29 01:50:36 -0700 2009 | |
| |
mptt_comments/ | Fri Oct 31 10:33:09 -0700 2008 |
README.rst
Django Mptt Comments
Django Mptt Comments is a simple way to display threaded comments instead of the django contrib comments.
Repo moved here .
Installation
Get the required third party modules
svn checkout http://django-mptt.googlecode.com/svn/trunk/mptt svn checkout http://django-template-utils.googlecode.com/svn/trunk/template_utils
Add the mptt_comments directory to your Python path.
Add the needed apps to INSTALLED_APPS
'django.contrib.comments', 'django.contrib.markup', 'template_utils', 'mptt', 'mptt_comments'
Add mptt_comments.urls to your projects urlconf
(r'^comments/', include('mptt_comments.urls')),Add the required code to the objects detail page (see Usage)
Copy the templates to adapt them for your site
Style the forms using css
Usage
In any detail template that wants to use mptt_comments
{% block extrahead %}
{% load mptt_comments_tags %}
{% get_mptt_comments_media %}
{% endblock extrahead %}
To display the toplevel tree in templates:
{% load mptt_comments_tags %}
{% display_comment_toplevel_for object %}
TODO
- Make the more link work without javascript







