Skip to Content
मेन्यू
This question has been flagged

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
Discard
Related Posts Replies Views Activity
0
दिस॰ 16
3063
5
मार्च 16
10176
1
मार्च 15
4194
0
जुल॰ 16
5131
1
जून 16
3044