Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
627 Visualizzazioni

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?

Avatar
Abbandona
Risposta migliore

In that case you can convert sql constraint to python constrain

Avatar
Abbandona