Opened 16 years ago
Closed 15 years ago
#10334 closed (fixed)
Syndication framework calls context processors twice per item
Reported by: | Ian Lewis | Owned by: | nobody |
---|---|---|---|
Component: | contrib.syndication | Version: | 1.0 |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Design decision needed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
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 and could possibly cause performance problems.
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.
Attachments (1)
Change History (4)
by , 16 years ago
Attachment: | syndication.patch added |
---|
comment:1 by , 16 years ago
Triage Stage: | Unreviewed → Design decision needed |
---|
comment:2 by , 15 years ago
This bug is marked "Design decision needed". What kind of design decision is needed? Would the proposed solution of simply rendering the item as unicode when there is no template specified be incorrect?
Patch for the RSS framework