摘要:
记录集 model的数据是通过数据集合的形式来使用的,定义在model里的函数执行时它们的self变量也是一个数据集合 class AModel(models.Model): _name = 'a.model' def a_method(self): # self can be anywhere b 阅读全文
posted @ 2018-07-24 09:46
hello-Jesson
阅读(935)
评论(0)
推荐(0)
摘要:
https://www.cnblogs.com/TenosDoIt/category/470890.html 阅读全文
posted @ 2018-07-24 09:28
hello-Jesson
阅读(290)
评论(0)
推荐(0)