Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
617 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

In that case you can convert sql constraint to python constrain

Ảnh đại diện
Huỷ bỏ