HDOJ 1076 An Easy Task(闰年计算)
Problem Description
Ignatius was born in a leap year, so he want to know when he could hold his bi
HDOJ 1076 An Easy Task(闰年计算)
Problem Description
Ignatius was born in a leap year, so he want to know when he could hold his bi
web开发框架之Django基础
# 基本查询
print(BookInfo.objects.all())
print(BookInfo.objects.get(btitle='雪山飞狐').id)
print(BookInfo.objects.get(id=3))
print(BookInfo.objects.get(pk=3))
# 将ID=3的排除,显示其他的
print(BookInfo.objects.exclude(id=3))
print(111111111)
try:
print(BookInfo.objects.get(id=12))
# except Exception as e: