会员
众包
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
不要被骄傲遮蔽了双眼
真正的大师永远都怀着一颗学徒的心。A true master is an eternal student.
博客园
新随笔
管理
2019年12月8日
00_UnorderedObjectListWarning: Pagination may yield inconsistent results with an unordered object_list: # <class 'django.contrib.auth.models.Group'> QuerySet.
摘要: 访问groups时,后端报警告 参考blog https://www.cnblogs.com/zhengyionline/p/9232491.html 看到,其实是未排序 方法1:view中取queryset对象实例时 方法2:models中ordery 修改后即可
阅读全文
posted @ 2019-12-08 20:49 venicid
阅读(201)
评论(0)
推荐(0)
编辑
公告