有什么方法可以连接切片查询集?它的简化示例(我意识到这个特定示例可以写在一个查询中):
>>> ...
>>> query_set_1 = Model.objects.filter(...)[:3]
>>> query_set_2 = Model.objects.filter(...)[5:]
>>> query_set_1 | query_set_2
不去上班,
>>> AssertionError: Cannot combine queries once a slice has been taken.
有什么建议么?谢谢!