摘要: 如果继承ApiView想要实现排序 example res = EventLog.objects.filter(user__role='DOCTOR').values("user_id").annotate(Count("user_id")).order_by("user_id") res_data 阅读全文
posted @ 2021-09-13 13:10 FFLYY 阅读(23) 评论(0) 推荐(0) 编辑