Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
623 มุมมอง

I have a very long form and there is a list of range constraints that I want to add as SQL constraints, but in the error message I want to show the field string (the name that users see) instead of the name of the field variable which is sometimes confusing for users.

Is there any methods that I can use for static variables to get the strings?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

In that case you can convert sql constraint to python constrain

อวตาร
ละทิ้ง