问题: 按时间来查找数据表中的数据。
前提:
1. 数据表student中有一个字段类型为DateField或者DateTimeField字段, 字段名是birthday。
2. 数据表中已经有些数据
查询:
比如要查询五月份出生的学生: stud = student.objects.filter(birthday__month = 05)
比如要查询2001年出生的学生: stud = student.objects.filter(birthday__year = 2001)