标签:
计算: datetime.date.today()-datetime.timedelta(days=30))
student_module_list = StudentModule.objects.filter(
course_id=course_base.course_id,
student_id=student.user_id,
modified__gte=(
datetime.date.today()-datetime.timedelta(days=30))
)
标签:
原文地址:http://my.oschina.net/u/2002748/blog/395152