Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#1740 closed defect (fixed)

[patch] Comments app still uses old API in places

Reported by: James Bennett Owned by: Adrian Holovaty
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 James Bennett 11 years ago.
patched models.py using new DB API

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by James Bennett

Attachment: models.diff added

patched models.py using new DB API

comment:1 Changed 11 years ago by James Bennett

Summary: Comments app still uses old API in places[patch] Comments app still uses old API in places
Version: SVN

comment:2 Changed 11 years ago by Jacob

Resolution: fixed
Status: newclosed

(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