正序

 time1 = details.objects.all().order_by('time') 

倒序

 time2 = details.objects.all().order_by('-time') 


 
                    
            
                

相关文章:

  • 2021-07-05
  • 2022-01-29
  • 2022-12-23
  • 2021-06-11
  • 2021-05-26
  • 2021-12-22
  • 2022-01-07
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-07
  • 2022-12-23
  • 2021-12-18
  • 2021-11-27
相关资源
相似解决方案