Opened 6 years ago

Closed 6 years ago

#10333 closed (duplicate)

Syndication framework calls context processors twice per item

Reported by: IanLewis Owned by: nobody
Component: contrib.syndication Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

The syndication framework renders title and description of items from a template which causes context_processors to be called twice per item in the feed. Even when a template is not specified the syndication framework renders a simple template "{{ obj }}" which calls context_processors needlessly.

A patch is attached that calls force_unicode on the item to obtain the title and description when a template for the title or description is not provided.

Change History (1)

comment:1 Changed 6 years ago by IanLewis

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.
Back to Top