﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
18112	contrib.syndication.views: Add hook for getting extra context in feed templates	Paul Winkler	Zbigniew Siciarz	"This seems to me like a useful low-impact hook for authors of Feed subclasses...
I was writing one today and wished I had such a hook.

It would be intentionally similar to the ``get_context_data`` hook on class-based views.

Usage would look like:

{{{

class MyFeed(Feed):
    def get_context_data(**kwargs):
        context = super(MyFeed, self).get_context_data(**kwargs)
        context['foo'] = settings.FOO
        context['more_things'] = app.models.Things.objects.filter(...)
        return context

}}}

The description_template and title_template could then make use of the extra context variables.

Attaching a patch; will write tests if this seems worthwhile.
"	New feature	closed	contrib.syndication	dev	Normal	fixed			Accepted	1	0	0	0	1	0
