Field.error_messages
The error_messages
argument lets you override the default messages that the field will raise. Pass in a dictionary with keys matching the error messages you want to override.
Error message keys include null
, blank
, invalid
, invalid_choice
, unique
, and unique_for_date
. Additional error message keys are specified for each field in the Field types section below.
Please login to continue.