The code formerly known as django.contrib.comments.
Django used to include a comments framework; since Django 1.6 it’s been separated to a separate project. This is that project.
This 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.
For details, consult the documentation.
Confirmed support for Django 4.0.
Dropped support for Django 1.11, 2.0, and 2.1.
Added the delete_stale_comments management command.
Added db_index to object_pk and is_removed fields.
Altered object_pk from TextField to CharField(max_length=64) so that the field can be indexed on MySQL, too. Warning: if you attach comments to objects whose primary key is serialized to more than 64 characters, you should provide a custom Comment model (more about that in the documentation) with an appropriate object_pk field.
Confirmed support for Python 3.9.
Added support for Django 3.2.
Removed support for Python 2.
Renamed zh_CN to zh_Hans and zh_TW to zh_Hant to match Django Chinese translations naming.
Confirmed support for Django 3.1 and avoid deprecation warnings.
Confirmed support for Python 3.8.
Updated Arabic and German translations.
WARNING: This is the last version supporting Python 2.
Confirmed support for Django 3.0.
Prevented deprecation warnings with Django 3.0.
Updated Danish and Indonesian translations.
WARNING: This is most probably the last version supporting Python 2.
Added testing for Python 3.7.
Confirmed support for Django 2.2 (no code changes required).
Added testing for Python 3.6.
Confirmed support for Django 2.0 and 2.1.
Dropped support for Django < 1.11.
ip_address is set to None when REMOTE_ADDR is empty (#93).
Fixed a packaging error which caused sub-packages of the tests to be distributed.
Use get_current_site to look up the site instead of settings.SITE_ID.
Confirmed support for Django 1.11.
Dropped Django 1.7 and Python 3.2/3.3 support.
Added testing for Python 3.5.
Fixed a regression which prevented the Comment model from registering with the admin.
get_comment_list now returns a QuerySet instead of a list.
Fixed a Django 1.9+ compatibility issue with a customized comment app in INSTALLED_APPS (#87).
Confirmed support for Django 1.10.
Isolated abstract models outside of models.py so they can be imported without triggering Django’s deprecation warning about models living outside of a ‘models’ module.
Dropped Django 1.6 and Python 2.6 support
Improved usage of AppConfig functionality for custom models.
Added CommentAbstractModel as another abstract model layer for easier customization.
Avoided N+1 query problem for users on comments.
Made the moderation email subject translatable.
Added a database index to Comment.submit_date, since it is used for the default ordering.
Fixed packaging so locale files are distributed.
Fixed some Django deprecation warnings.
Setup translation system using Transifex.
Added missing South migration for the email length.
Fixed migrations not working when installed as an egg.
Made CommentSecurityForm pass keyword arguments to its parent class.
Added COMMENTS_TIMEOUT setting to configure the timeout for CommentSecurityForm.
Migrated Comment.user_email to 254 characters.
Moved South migrations to south_migrations folder so they can exist with Django 1.7 migrations.
Added Django 1.9 compatibility, dropped support for Django 1.5.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for django-contrib-comments-2.2.0.tar.gz
Hashes for django_contrib_comments-2.2.0-py3-none-any.whl