Django’s comments framework¶
Django includes a simple, yet customizable comments framework. The built-in comments framework can be used to attach comments to any model, so you can use it for comments on blog entries, photos, book chapters, or anything else.
If you used to use Django’s older (undocumented) comments framework, you’ll need to upgrade. See the upgrade guide for instructions.
Quick start guide¶
To get started using the comments app, follow these steps:
Install the comments framework by adding 'django.contrib.comments' to INSTALLED_APPS.
Run manage.py syncdb so that Django will create the comment tables.
Add the comment app’s URLs to your project’s urls.py:
urlpatterns = patterns('', ... (r'^comments/', include('django.contrib.comments.urls')), ... )
Use the comment template tags below to embed comments in your templates.
You might also want to examine Comment settings.