تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
613 أدوات العرض

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

الصورة الرمزية
إهمال