Přejít na obsah
Menu
You need to be registered to interact with the community.
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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
pro 16
3068
5
bře 16
10177
1
bře 15
4195
0
čvc 16
5132
1
čvn 16
3044