实现方法
倒序正序
Django如何实现排列输出
在属性前面加上 -(减号)
time1 = details.objects.all().order_by('-time')
正序
time1 = details.objects.all().order_by('time')

实现方法
倒序正序
Django如何实现排列输出
在属性前面加上 -(减号)
time1 = details.objects.all().order_by('-time')
正序
time1 = details.objects.all().order_by('time')