how to get connected to template file by using @property in django models.py

前端 未结 0 1176
执笔经年
执笔经年 2020-12-03 10:57

in my django models.py when i put @property it gives me

@def foo(): doc = "The property." def fget(self): return self._ def fset(self, value): self._ = val

相关标签:
回答
  • 消灭零回复
提交回复
热议问题