Quantcast
Channel: Multi-model RSS Feed in Django - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Razenstein for Multi-model RSS Feed in Django

you can use queryset3 = queryset1.union(queryset2) to concatenate items of two different models and use this in feed.items(self):def items(self): query1 = Article1.objects.filter(is_published=1) query2...

View Article


Multi-model RSS Feed in Django

I am trying to figure out how to have a multi-model RSS feed in Django. That is, I would like Django to serve updates of two different models under one RSS url.Here is what I have thus farclass...

View Article

Browsing latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>