Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda

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
Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
0
Des 16
3064
5
Mar 16
10176
1
Mar 15
4194
0
Jul 16
5131
1
Jun 16
3044