Closed Bug 592831 Opened 14 years ago Closed 10 years ago

Make forums.models.* get_absolute_url() methods make as few queries as possible

Categories

(support.mozilla.org :: Code Quality, task, P3)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jsocol, Unassigned)

Details

Like the recent patch to Answer.get_absolute_url(), we should streamline the get_absolute_url() methods of the forums models to make fewer queries. Most Thread should be able to get away with none, and Post should only need one.
Er. Do we still need this bug from 3 years ago?
Component: Forum → Code Quality
SUMO IS SNAPPY THESE DAYS
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
OOPS. WRONG BUG!
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
This looks like it was done. The methods look almost the same for forums posts and question answers.
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.