O'Reilly logo

Django 1.0 Web Site Development by Ayman Hourieh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Commenting on bookmarks

Voting on bookmarks is one way for our users to express their opinions. How about giving users more flexibility in expressing opinions by letting them comment on bookmarks? Comments will be an excellent method for users to discuss their interests amongst each other and make new friends. In this section, we will implement the commenting feature in our application.

The process of adding comments to a Django application consists of the following steps:

  • Enable the comments application and create its models in the database
  • Use a set of template tags provided by the comments application to display a comment form and a list of comments on a page
  • Create templates for the comment submission form and the page that appears after successfully ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required