Skip to main content

The code formerly known as django.contrib.comments.

Project description

https://img.shields.io/pypi/v/django-contrib-comments.svg https://img.shields.io/travis/django/django-contrib-comments.svg https://img.shields.io/pypi/pyversions/django-contrib-comments.svg https://img.shields.io/pypi/djversions/django-contrib-comments.svg

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.

History

2.1.0 (2021-03-03)

  • 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.

2.0.0 (2020-12-20)

  • 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.

1.9.2 (2019-12-03)

  • 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.

1.9.1 (2019-02-20)

  • 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).

  • Updated translations.

1.9.0 (2018-08-04)

  • 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).

1.8.0 (2017-02-03)

  • 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.

  • Updated translations.

1.7.3 (2016-09-13)

  • Fixed a regression which prevented the Comment model from registering with the admin.

  • Updated translations.

1.7.2 (2016-08-04)

  • 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.

1.7.1 (2016-05-03)

  • 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.

  • Updated translations.

1.7.0 (2016-03-29)

  • 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.

  • Updated translations.

1.6.2 (2016-12-10)

  • Fixed some Django deprecation warnings.

  • Setup translation system using Transifex.

  • Added missing South migration for the email length.

  • Updated translations.

1.6.1 (2016-05-08)

  • Fixed migrations not working when installed as an egg.

1.6.0 (2016-04-29)

  • 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-contrib-comments-2.1.0.tar.gz (189.9 kB view details)

Uploaded Source

Built Distribution

django_contrib_comments-2.1.0-py3-none-any.whl (406.3 kB view details)

Uploaded Python 3

File details

Details for the file django-contrib-comments-2.1.0.tar.gz.

File metadata

  • Download URL: django-contrib-comments-2.1.0.tar.gz
  • Upload date:
  • Size: 189.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.7.3rc1

File hashes

Hashes for django-contrib-comments-2.1.0.tar.gz
Algorithm Hash digest
SHA256 d82f1d04690550df026553053903deec0c52dc54212e1b79241b08f0355cff2c
MD5 c932c8715d6f50618f3163a48ca49a9a
BLAKE2b-256 f564183b699e2a1c100d7f29b83ee274e477533f4f45330dfbf32cf1ea5a2c25

See more details on using hashes here.

File details

Details for the file django_contrib_comments-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: django_contrib_comments-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 406.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.7.3rc1

File hashes

Hashes for django_contrib_comments-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e02c7341ea1f4bcdfa347851dbf5e632d3e591d84b4f77de2f90b93398897f3c
MD5 54a9e05a7eedfedc2a45f3a8fac7ac4a
BLAKE2b-256 060b86b0727c630de0ac5873ac074be843bddfaacb8253f50d7ed89c06e0747c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page