Opened 7 years ago

Closed 7 years ago

#9439 closed (fixed)

Broken links in comment moderation templates

Reported by: neithere Owned by: nobody
Component: contrib.comments Version: master
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Some templates contain references to a non-existent permalink attribute of the Comment model instead of the actual get_absolute_url:

  • source:django/trunk/django/contrib/comments/templates/comments/approve.html
  • source:django/trunk/django/contrib/comments/templates/comments/delete.html
  • source:django/trunk/django/contrib/comments/templates/comments/flag.html

This results in broken "cancel" links.

Attachments (1)

fix-templates.diff (2.2 KB) - added by neithere 7 years ago.
Replace non-existent permalink attribute with get_absolute_url

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by neithere

Replace non-existent permalink attribute with get_absolute_url

comment:1 Changed 7 years ago by neithere

  • Has patch set
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 7 years ago by thejaswi_puthraya

  • Triage Stage changed from Unreviewed to Accepted

comment:3 Changed 7 years ago by jacob

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [9730].

Note: See TracTickets for help on using tickets.
Back to Top