标签: python django python-2.7 django-1.6
以下示例之间没有区别吗?
查询1:
objects.filter(a=b).exclude(c=d).filter(e=f).exclude(g=h).distinct()
查询2:
objects.filter(a=b).filter(e=f).exclude(c=d).exclude(g=h).distinct()