1👍
✅
You should not pass self
as a parameter, just do this:
class Foo(models.Model):
@property
def Bar(self):
return 3
@property
def Baz(self):
return self.Bar + 4 # Bar is a property
Source:stackexchange.com