Skip to Content
Menú
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
Descartar
Related Posts Respostes Vistes Activitat
0
de des. 16
3070
5
de març 16
10182
1
de març 15
4197
0
de jul. 16
5132
1
de juny 16
3047