6c6,7 < from django.conf import settings --- > from django.conf import settings > from django.template import RequestContext 120c121 < title = title_tmp.render(Context({'obj': item, 'site': current_site})), --- > title = title_tmp.render(RequestContext(self.request, {'obj': > item, 'site': current_site})), 122c123 < description = description_tmp.render(Context({'obj': item, 'site': current_site})), --- > description = > description_tmp.render(RequestContext(self.request, {'obj': item, 'site': > current_site})),
Having an easy time implementing RSS here, thanks to syndication.feeds but found myself wanting extra context information in the description and title templates... If the above changes were made, then add extra context could be added using the the existing context_processor mechanism. I can't perceive a down-side myself - but would be interested in observations from others, of course. I have never contributed a Django patch. I am a newbie with respect to SVN and couldn't get SVN DIFF command to produce the required output. Please excuse pasting code changes in here. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---