📜  django 查询集计数 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:09.067000             🧑  作者: Mango

代码示例2
>>> Entry.objects.filter(
...     headline__startswith='What'
... ).exclude(
...     pub_date__gte=datetime.date.today()
... ).filter(
...     pub_date__gte=datetime.date(2005, 1, 30)
... )