Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#1740 closed defect (fixed)

[patch] Comments app still uses old API in places

Reported by: ubernostrum Owned by: adrian
Component: Core (Other) Version: master
Severity: major Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

The comments app still uses the old-style 'get_content_type()' instead of the new-style descriptor field 'content_type', which means that comment posting doesn't work at all.

Attachments (1)

models.diff (830 bytes) - added by ubernostrum 9 years ago.
patched models.py using new DB API

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by ubernostrum

patched models.py using new DB API

comment:1 Changed 9 years ago by ubernostrum

  • Summary changed from Comments app still uses old API in places to [patch] Comments app still uses old API in places
  • Version set to SVN

comment:2 Changed 9 years ago by jacob

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

(In [2823]) Fixed #1740 -- django.contrib.comments no longer uses old-style DB API (thanks, ubernostrum)

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