from django.utils.functional import cached_property class Person(models.Model): @cached_property def friends(self): ... Note that as the method is now a ...
確定! 回上一頁