Skip to content

Remove Django comments functionality — spam magnet, Eric approved removal #1130

@rdhyee

Description

@rdhyee

Background

Per Eric's decision in the 2026-04-23 meeting with Raymond: Django's built-in comments functionality is no longer valuable — it's become a spam magnet generating low-signal traffic and occasional related maintenance burden. Remove it.

This is also related to the current Django 4.2 upgrade (#1123): django_comments has been a source of on_delete state-drift issues (see companion PR #1126). Removing it entirely is a cleaner simplification than continuing to carry the overlay-migration fixes.

Eric's guidance

  • OK to leave comments functionality temporarily broken while removal is in progress — better to accept a broken endpoint than to trigger more error-email floods via partial removal.
  • Remove, don't gate behind feature flag — we don't want it back.

Scope

  • Remove django_contrib_comments (or whichever comments package is in use) from INSTALLED_APPS
  • Remove Comment-related views, URLs, templates
  • Remove django_comments migrations from the state-drift overlay (#1126) — no longer needed if the app is gone
  • Data migration: decide whether to preserve historical comments (archive table) or drop them entirely (likely drop; low value, high spam content)
  • Update templates that reference comment counts / comment forms

Coordination with other PRs

Related

  • regluit#1123 — Django 4.2 upgrade
  • regluit#1126 — django_comments on_delete overlay migration fix (may become obsolete)
  • 2026-04-23 meeting with Eric

Out of scope

  • User-visible messaging about comments going away — probably not needed (comments section has been unused / spam-heavy)
  • Replacement commenting system — not wanted

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions