Se rendre au contenu
Menu
Cette question a été signalée

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
Ignorer
Publications associées Réponses Vues Activité
0
déc. 16
3067
5
mars 16
10176
1
mars 15
4195
0
juil. 16
5132
1
juin 16
3044