Skip to content

V0.3.3

Compare
Choose a tag to compare
@MajAhd MajAhd released this 25 Jun 07:03
· 1 commit to master since this release
a570c4e

Language Support

✅ Support Farsi language

import pyvalidations as PyValidations

data = {
    "first_name": "Majid"
}

rules = {
    "first_name": ["required", "string", "max:128"]
}

# get error messages in Farsi language
PyValidations.make(data, rules , "fa")