摘要: # 自定义模型类 管理器使用方法 class BookInfoManager(model.Manager): # 重写all def all(self): return self.filter(is_delete=False) class BookInfo(): ................ # 阅读全文
posted @ 2020-02-19 08:48 阿里云的奥斯卡 阅读(147) 评论(0) 推荐(0) 编辑