Skip to Content
Menu
This question has been flagged
1 Atsakyti
614 Rodiniai

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?

Portretas
Atmesti
Best Answer

In that case you can convert sql constraint to python constrain

Portretas
Atmesti