[Answer]-Merging querysets from different models

1👍

I’ve now solved the problem.

news_hub = list(chain(notes, recent_posts))

news_hub = sorted(
    chain(notes, recent_posts),
    key = attrgetter('posted'), reverse=True)[:10]

Leave a comment