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
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
Opret en konto i dag for at få glæde af eksklusive funktioner, og bliv en del af vores skønne fællesskab!
Tilmeld dig| Relaterede indlæg | Besvarelser | Visninger | Aktivitet | |
|---|---|---|---|---|
|
0
dec. 16
|
4571 | |||
|
5
mar. 16
|
12534 | |||
|
1
mar. 15
|
5904 | |||
|
0
jul. 16
|
7363 | |||
|
1
jun. 16
|
4605 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.