昇順 _datas = Data.objects.all().order_by(‘pub_date’)[:20] 降順 _datas = Data.objects.all().order_by(‘-pub_date’)[:20]