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
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อ| Related Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
|---|---|---|---|---|
|
0
ธ.ค. 16
|
4578 | |||
|
5
มี.ค. 16
|
12537 | |||
|
1
มี.ค. 15
|
5908 | |||
|
0
ก.ค. 16
|
7366 | |||
|
1
มิ.ย. 16
|
4607 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.