How to call a method inside the class model in python django

前端 未结 0 407
走了就别回头了
走了就别回头了 2020-11-22 12:32

In models.py

class ModelA(models.Model):
        ...
        def methodA(self):
                return ...
        methodA()       # How to call this methodA,         


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