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
Create an account today to enjoy exclusive features and engage with our awesome community!
Registracija| Related Posts | Replies | Rodiniai | Veikla | |
|---|---|---|---|---|
|
0
gruod. 16
|
4571 | |||
|
5
kov. 16
|
12535 | |||
|
1
kov. 15
|
5906 | |||
|
0
liep. 16
|
7364 | |||
|
1
birž. 16
|
4605 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.