Quick start guide¶
To get started using the
comments app, follow these steps:
Install the comments app by running
pip install django-contrib-comments.
Enable the “sites” framework by adding
Install the comments framework by adding
manage.py migrateso that Django will create the comment tables.
Add the comment app’s URLs to your project’s
urlpatterns = [ ... url(r'^comments/', include('django_comments.urls')), ... ]
Use the comment template tags below to embed comments in your templates.
You might also want to examine the available settings.
To take full advantage of the moderation system, you may want to add some comment-enabling fields to specified models. See Comment moderation for details.