django-contrib-comments
The code formerly known as django.contrib.comments.
Decision gist · record as of 2026-08-14
Yes, if you need a lightweight, battle-tested comment framework for Django and can accept that the package is no longer actively maintained. The code is stable and production-ready (Development Status 5), with no known vulnerabilities and low install friction. However, verify compatibility with your Django version (last confirmed for 4.0) and be prepared to maintain or fork it if future Django releases introduce breaking changes.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Django to be installed and configured; object_pk field is limited to 64 characters for indexed primary keys on MySQL
- Low install friction with a single Django dependency.
- However, the package is in abandoned maintenance status as of 1656 days since its last release (2022-01-31), with no active development despite the repository remaining unarchived.
License · maintenance · safety
BSD (permissive) — BSD permissive license allows commercial and private use with minimal restrictions, typical for web framework packages.
last release 2022-01-31 (1656 days) · last repo commit 2023-08-22 · 629 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 212,197 downloads/mo, #9,461 on PyPI
Alternatives
Verify before relying
pip install django-contrib-comments
# In Django settings.py, add to INSTALLED_APPS:
# 'django_comments'
# In your template:
# {% load comments %}
# {% get_comment_list for object as comment_list %}
# {% for comment in comment_list %}
# {{ comment.user_name }}: {{ comment.comment }}
# {% endfor %}- Whether the package remains compatible with Django versions released after 4.0 (last confirmed support)
- Current compatibility with Python versions beyond 3.9 (last tested version in fact sheet)
- Whether the 64-character limit on object_pk fields poses constraints for your primary key serialization
What it is and what it does
Django-contrib-comments is the standalone version of Django's built-in comments framework, which was extracted into a separate project starting with Django 1.6. It provides a reusable app that lets you attach comments to any Django model—blog posts, photos, chapters, or custom content types—with built-in moderation, user tracking, and admin integration.
The package handles comment submission, storage, and retrieval through a Comment model that tracks the commented object, user, submission date, and moderation status. It includes management commands like delete_stale_comments, database indexing on frequently-queried fields, and support for custom comment models when the default schema doesn't fit your needs. The framework integrates directly into Django's admin and ORM.
Use it for
- Add a comment system to a Django blog where readers can discuss posts and authors moderate feedback.
- Enable photo galleries or media sites to collect user reactions and discussion on individual items.
- Build community features on documentation or knowledge-base sites where users annotate content.
- Implement moderation workflows where comments require approval before publication.
- Attach comments to custom Django models in internal tools or SaaS applications.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need a lightweight, battle-tested comment framework for Django and can accept that the package is no longer actively maintained.
The code is stable and production-ready (Development Status 5), with no known vulnerabilities and low install friction. However, verify compatibility with your Django version (last confirmed for 4.0) and be prepared to maintain or fork it if future Django releases introduce breaking changes.
Install
django-contrib-comments on PyPI
Before you install
Low install friction with a single Django dependency. However, the package is in abandoned maintenance status as of 1656 days since its last release (2022-01-31), with no active development despite the repository remaining unarchived.
Requires Django to be installed and configured; object_pk field is limited to 64 characters for indexed primary keys on MySQL
License in practice
BSD permissive license allows commercial and private use with minimal restrictions, typical for web framework packages.
Quickstart
pip install django-contrib-comments
# In Django settings.py, add to INSTALLED_APPS:
# 'django_comments'
# In your template:
# {% load comments %}
# {% get_comment_list for object as comment_list %}
# {% for comment in comment_list %}
# {{ comment.user_name }}: {{ comment.comment }}
# {% endfor %}
Verify before relying
- Whether the package remains compatible with Django versions released after 4.0 (last confirmed support)
- Current compatibility with Python versions beyond 3.9 (last tested version in fact sheet)
- Whether the 64-character limit on object_pk fields poses constraints for your primary key serialization
Package facts
| License | BSD permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageDjango |
| Maintenance | Abandoned 1,656 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 212,197 / month, #9,461 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: DjangoFramework :: Django :: 2.2Framework :: Django :: 3.0Framework :: Django :: 3.1Framework :: Django :: 3.2Framework :: Django :: 4.0Intended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: django_contrib_comments-2.2.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “django comments framework”
- django-contrib-commentsProvides a Django framework for attaching comments to any model in…
- google-cloud-sqlcommenterAutomatically injects metadata comments into SQL queries executed…
- DjangoDjango is a high-level Python web framework for building…
Give your agent the search over MCP, or paste the wish link into any chat.
More Dynamic Content packages
MarkupSafe provides a text object that escapes special characters so untrusted strings can be safely embedded in HTML and XML without injection attacks.
Jinja2 is a templating engine that renders dynamic content by combining templates with Python-like syntax and data, supporting template inheritance, macros, autoescaping, and sandboxed execution.
Soupsieve is a CSS selector library designed to work with Beautiful Soup 4 to select, match, and filter HTML and XML elements using modern CSS selectors from CSS level 1 through CSS level 4 specifications.
Install it if you use Beautiful Soup for HTML or XML parsing and want modern CSS selector support.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
Flask is a lightweight WSGI web application framework for building web applications in Python, from simple single-page sites to complex multi-route applications.
Mako compiles Python-embedded templates into Python modules for fast rendering, supporting layout inheritance, custom functions, and direct Python expressions within template syntax.
See also ast-comments · django-model-utils · google-cloud-sqlcommenter · pr-commenter · django-admin-tools · commented-configparser · django-ical · easy-thumbnails · django-logentry-admin · django-nine