↧
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 ArticleMulti-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