跳至内容
菜单
此问题已终结

I want to use a return from a function in my field variable. How can I do this?

How can I put the return of the function in my field?

test_field = fields.Char('')

def test(self):
    a = 1
    if a == a:
     
     return a
形象
丢弃
相关帖文 回复 查看 活动
0
12月 16
3064
5
3月 16
10176
1
3月 15
4194
0
7月 16
5131
1
6月 16
3044