1👍
✅
I think it is a bit tricky. Add this method to BlogRssFeed
def get_feed(self, obj, request):
self.custom_var = request
return super().get_feed(obj, request)
Then
ServiceStatisticsAdd(self.custom_var).add('rss', rss_reference, kwargs)
Source:stackexchange.com