Tag: The Pinax Tutorial

The Pinax Tutorial #5: Adding a comment system

Posted by on December 21, 2009

In this part we will improve the Bookstore application: what I am going to show is how easy it is to add support for enabling comments for a book without writing from scratch another comment system (as you may already now, avoid rewriting things is the core philosophy of Pinax and Django).

Basically, you could add this feature by using one of these two approaches (there may be other ones, but these are the most common):

You will implement a commenting system in the application you are developing by using the django-threadedcomments system.

Setup

You need to make sure that, in your settings file, you have the django-threadedcomments system enabled:

PROJECT_ROOT/settings.py:

INSTALLED_APPS = (
...
'threadedcomments',
'threadedcomments_extras',
...
'bookstore',
)

if you didn’t customize things, you should have this two applications already enabled (not commented).

More…

The Pinax Tutorial #4: Using avatars, pagination and profiles

Posted by on December 19, 2009

The Pinax Tutorial #3: Internationalization of the application

Posted by on December 18, 2009

The Pinax Tutorial #2: Developing the basic application and plugging it in Pinax

Posted by on November 29, 2009

The Pinax Tutorial #1: Installing Pinax and making basic customisation

Posted by on October 10, 2009

The Pinax Tutorial, Introduction

Posted by on October 3, 2009