摘要: 使用raw books=Book.objects.raw('select * from hello_book') for book in books: print book自定义sql from django.db import connection cursor = connection.curs 阅读全文
posted @ 2020-06-17 17:01 一抹浅蓝 阅读(281) 评论(0) 推荐(0)